[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFLxGvyqyhCa7gvhRHT6oNML0+XJ-Fyexf4xK=bm7bViusuGFg@mail.gmail.com>
Date: Fri, 17 Jan 2020 00:36:23 +0100
From: Richard Weinberger <richard.weinberger@...il.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Richard Weinberger <richard@....at>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org, kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] mtd: ubi: wl: remove set but not used variable 'prev_e'
On Wed, Nov 27, 2019 at 7:22 AM YueHaibing <yuehaibing@...wei.com> wrote:
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/mtd/ubi/wl.c: In function 'find_wl_entry':
> drivers/mtd/ubi/wl.c:322:27: warning:
> variable 'prev_e' set but not used [-Wunused-but-set-variable]
>
> It's not used any more now, so remove it.
>
> Fixes: f9c34bb52997 ("ubi: Fix producing anchor PEBs")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/mtd/ubi/wl.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied. Thanks!
--
Thanks,
//richard
Powered by blists - more mailing lists