ath10k: else is not generally useful after a break or return
Fixes checkpatch warnings: WARNING: else is not generally useful after a break or return Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -362,10 +362,11 @@ static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar)
|
||||
|
||||
if (ar_pci->num_msi_intrs > 1)
|
||||
return "msi-x";
|
||||
else if (ar_pci->num_msi_intrs == 1)
|
||||
|
||||
if (ar_pci->num_msi_intrs == 1)
|
||||
return "msi";
|
||||
else
|
||||
return "legacy";
|
||||
|
||||
return "legacy";
|
||||
}
|
||||
|
||||
static int __ath10k_pci_rx_post_buf(struct ath10k_pci_pipe *pipe)
|
||||
|
Reference in New Issue
Block a user