From: Kalle Valo Date: Sun, 14 Sep 2014 09:50:28 +0000 (+0300) Subject: ath10k: don't use return on void functions X-Git-Tag: v4.9.8~5202^2~28^2~90^2~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac04506c73d19dc8bdc167f79eef05d6bae5b644;p=platform%2Fkernel%2Flinux-rpi3.git ath10k: don't use return on void functions Fixes a checkpatch warning: WARNING: void function return statements are not generally useful Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/htt_tx.c b/drivers/net/wireless/ath/ath10k/htt_tx.c index 1ab6463..bd87a35 100644 --- 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)