From: Kalle Valo Date: Thu, 27 Oct 2011 15:48:45 +0000 (+0300) Subject: ath6kl: remove useless cleanup call from ath6kl_bmi_done() X-Git-Tag: firefly_0821_release~3680^2~2381^2~57^2~287^2~272 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0c30295e4fd5436ad0bd78a6e0974dc4933e2ddb;p=firefly-linux-kernel-4.4.55.git ath6kl: remove useless cleanup call from ath6kl_bmi_done() aht6kl core code will call the cleanup function when the device is removed. Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/bmi.c b/drivers/net/wireless/ath/ath6kl/bmi.c index c5d11cc536e0..5a4c24d9c2da 100644 --- a/drivers/net/wireless/ath/ath6kl/bmi.c +++ b/drivers/net/wireless/ath/ath6kl/bmi.c @@ -196,8 +196,6 @@ int ath6kl_bmi_done(struct ath6kl *ar) return ret; } - ath6kl_bmi_cleanup(ar); - return 0; }