Explorar o código

ath6kl: Fix sparse warning "symbol 'conn' shadows an earlier one"

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Vasanthakumar Thiagarajan %!s(int64=14) %!d(string=hai) anos
pai
achega
1555f7339d
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/net/wireless/ath/ath6kl/txrx.c

+ 0 - 1
drivers/net/wireless/ath/ath6kl/txrx.c

@@ -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) {