ath6kl: remove useless cleanup call from ath6kl_bmi_done()
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 27 Oct 2011 15:48:45 +0000 (18:48 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:58:57 +0000 (12:58 +0200)
aht6kl core code will call the cleanup function when the device is removed.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/bmi.c

index c5d11cc536e04791d75050f4fd356fde2ec4a16f..5a4c24d9c2da7d70866c696e06d18800769f6aa4 100644 (file)
@@ -196,8 +196,6 @@ int ath6kl_bmi_done(struct ath6kl *ar)
                return ret;
        }
 
-       ath6kl_bmi_cleanup(ar);
-
        return 0;
 }