Browse Source

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 <kvalo@qca.qualcomm.com>
Kalle Valo 11 years ago
parent
commit
ac04506c73
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/net/wireless/ath/ath10k/htt_tx.c

+ 0 - 1
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->pending_tx);
 	kfree(htt->used_msdu_ids);
 	kfree(htt->used_msdu_ids);
 	dma_pool_destroy(htt->tx_pool);
 	dma_pool_destroy(htt->tx_pool);
-	return;
 }
 }
 
 
 void ath10k_htt_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb)
 void ath10k_htt_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb)