[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190102060324.GF7581@vkoul-mobl>
Date: Wed, 2 Jan 2019 11:33:24 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Julia Lawall <Julia.Lawall@...6.fr>
Cc: Viresh Kumar <vireshk@...nel.org>, kernel-janitors@...r.kernel.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Dan Williams <dan.j.williams@...el.com>,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 12/20] dmaengine: dw: drop useless LIST_HEAD
On 23-12-18, 09:57, Julia Lawall wrote:
> Drop LIST_HEAD where the variable it declares is never used.
>
> Commit ab703f818ac3 ("dmaengine: dw: lazy allocation of dma
> descriptors") removed the uses, but not the declaration.
>
> 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