[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190102060404.GH7581@vkoul-mobl>
Date: Wed, 2 Jan 2019 11:34:04 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Julia Lawall <Julia.Lawall@...6.fr>
Cc: Dan Williams <dan.j.williams@...el.com>,
kernel-janitors@...r.kernel.org, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 17/20] dmaengine: pl330: drop useless LIST_HEAD
On 23-12-18, 09:57, Julia Lawall wrote:
> Drop LIST_HEAD where the variable it declares is never used.
>
> The variable has not been used since the function was introduced
> in 740aa95703c5 ("dmaengine: pl330: Split device_control").
>
> The semantic patch that fixes this problem is as follows:
> (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @@
> identifier x;
> @@
> - LIST_HEAD(x);
> ... when != x
> // </smpl>
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists