hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/net/wireless/st/cw1200/wsm.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * WSM host interface (HI) implementation for
34 * ST-Ericsson CW1200 mac80211 drivers.
45 *
56 * Copyright (c) 2010, ST-Ericsson
67 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
118 */
129
1310 #include <linux/skbuff.h>
....@@ -1031,14 +1028,12 @@
10311028 static int wsm_ba_timeout_indication(struct cw1200_common *priv,
10321029 struct wsm_buf *buf)
10331030 {
1034
- u32 dummy;
10351031 u8 tid;
1036
- u8 dummy2;
10371032 u8 addr[ETH_ALEN];
10381033
1039
- dummy = WSM_GET32(buf);
1034
+ WSM_GET32(buf);
10401035 tid = WSM_GET8(buf);
1041
- dummy2 = WSM_GET8(buf);
1036
+ WSM_GET8(buf);
10421037 WSM_GET(buf, addr, ETH_ALEN);
10431038
10441039 pr_info("BlockACK timeout, tid %d, addr %pM\n",