Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55d761b8 authored by Dave Jones's avatar Dave Jones Committed by Kalle Valo
Browse files

ath10k: add missing braces to ath10k_pci_tx_pipe_cleanup



The indentation here implies this was meant to be
a multi-statement if, but it lacks the braces.

kvalo: add "ath10k: " prefix

Signed-off-by: default avatarDave Jones <davej@fedoraproject.org>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 763b8cd3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1316,7 +1316,7 @@ static void ath10k_pci_tx_pipe_cleanup(struct ath10k_pci_pipe *pipe_info)

	while (ath10k_ce_cancel_send_next(ce_hdl, (void **)&netbuf,
					  &ce_data, &nbytes, &id) == 0) {
		if (netbuf != CE_SENDLIST_ITEM_CTXT)
		if (netbuf != CE_SENDLIST_ITEM_CTXT) {
			/*
			 * Indicate the completion to higer layer to free
			 * the buffer
@@ -1327,6 +1327,7 @@ static void ath10k_pci_tx_pipe_cleanup(struct ath10k_pci_pipe *pipe_info)
								    id);
		}
	}
}

/*
 * Cleanup residual buffers for device shutdown: