[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3827599f-da34-c226-8183-0c3807a46d6c@kernel.dk>
Date: Sat, 10 Aug 2019 20:45:46 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Anders Roxell <anders.roxell@...aro.org>, mb@...htnvm.io
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] lightnvm: remove unused variable 'geo'
On 8/10/19 12:39 AM, Anders Roxell wrote:
> The variable 'geo' is no longer used.
>
> ../drivers/lightnvm/pblk-read.c: In function ‘pblk_submit_read_gc’:
> ../drivers/lightnvm/pblk-read.c:421:18: warning: unused variable ‘geo’
> [-Wunused-variable]
> struct nvm_geo *geo = &dev->geo;
> ^~~
>
> Rework to remove the unused variable 'geo' and also the unused variable
> 'dev' that got unused when the 'geo' variable was removed.
This was fixed a few days ago:
http://git.kernel.dk/cgit/linux-block/commit/?h=for-5.4/block&id=f0e6f41669d9e07f45b472e4de33d7c233a847bd
--
Jens Axboe
Powered by blists - more mailing lists