ath6kl: Fix sparse warning "symbol 'conn' shadows an earlier one"
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 30 Sep 2011 13:48:42 +0000 (19:18 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:50:54 +0000 (12:50 +0200)
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/txrx.c

index a7117074f81c033776bc89808c8897e1146c4953..bcf7b01310d08ce94d719144f1151eee26828848 100644 (file)
@@ -1235,7 +1235,6 @@ void ath6kl_rx(struct htc_target *target, struct htc_packet *packet)
                         * frame to it on the air else send the
                         * frame up the stack.
                         */
-                       struct ath6kl_sta *conn = NULL;
                        conn = ath6kl_find_sta(ar, datap->h_dest);
 
                        if (conn && ar->intra_bss) {