Messages in this thread | | | Subject | Re: [PATCH] lightnvm: remove unused variable 'geo' | From | Jens Axboe <> | Date | Sat, 10 Aug 2019 20:45:46 -0700 |
| |
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
| |