Re: [PATCH] lightnvm: remove unused variable 'geo'
From: Jens Axboe
Date: Sat Aug 10 2019 - 23:45:57 EST
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