From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Thu, 10 Jan 2019 11:36:07 +0000 Subject: Re: [PATCH 20/20] cw1200: drop useless LIST_HEAD Message-Id: <20190110113607.3AD05601D1@smtp.codeaurora.org> List-Id: References: <1545555435-24576-21-git-send-email-Julia.Lawall@lip6.fr> In-Reply-To: <1545555435-24576-21-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall Cc: Solomon Peachy , kernel-janitors@vger.kernel.org, "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Julia Lawall wrote: > 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/) > > // > @@ > identifier x; > @@ > - LIST_HEAD(x); > ... when != x > // > > Fixes: a910e4a94f692 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets") > Signed-off-by: Julia Lawall Patch applied to wireless-drivers-next.git, thanks. 06605b0d38b4 cw1200: drop useless LIST_HEAD -- https://patchwork.kernel.org/patch/10741603/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches