projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfbc06a
)
ath10k: don't use return on void functions
author
Kalle Valo
<kvalo@qca.qualcomm.com>
Sun, 14 Sep 2014 09:50:28 +0000
(12:50 +0300)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Thu, 18 Sep 2014 07:46:12 +0000
(10:46 +0300)
Fixes a checkpatch warning:
WARNING: void function return statements are not generally useful
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/htt_tx.c
b/drivers/net/wireless/ath/ath10k/htt_tx.c
index 1ab64631ba1bcc1745067b923f5429861ba5a00a..bd87a35201d895856620719dc5477fbedb3d7062 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/htt_tx.c
+++ b/
drivers/net/wireless/ath/ath10k/htt_tx.c
@@
-154,7
+154,6
@@
void ath10k_htt_tx_free(struct ath10k_htt *htt)
kfree(htt->pending_tx);
kfree(htt->used_msdu_ids);
dma_pool_destroy(htt->tx_pool);
- return;
}
void ath10k_htt_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb)