mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
f1f9217926
commit
1555f7339d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue