]> git.baikalelectronics.ru Git - kernel.git/commit
cw1200: drop useless LIST_HEAD
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 23 Dec 2018 08:57:15 +0000 (09:57 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Jan 2019 11:35:39 +0000 (13:35 +0200)
commitbef0c31f842b29c78476a39c6fb072263cb08a5d
tree1ac0c865e99fe552834807a4ea8eb50c50f74aa7
parent29ed91a350ddcd7d1529d874457f2165666ceed1
cw1200: drop useless LIST_HEAD

Drop LIST_HEAD where the variable it declares has never
been used.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier x;
@@
- LIST_HEAD(x);
  ... when != x
// </smpl>

Fixes: 657284180c031 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets")
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/st/cw1200/queue.c