diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-08-09 06:11:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-09 06:14:04 +0200 |
commit | f0e6f41669d9e07f45b472e4de33d7c233a847bd (patch) | |
tree | 0512a033d708ea3336e2c9377956237102df425a /drivers/lightnvm | |
parent | loop: Add LOOP_SET_DIRECT_IO to compat ioctl (diff) | |
download | linux-f0e6f41669d9e07f45b472e4de33d7c233a847bd.tar.xz linux-f0e6f41669d9e07f45b472e4de33d7c233a847bd.zip |
lightnvm: remove unused 'geo' variable
A previous commit correctly removed set-but-not-read variables, but
this left two new variables now unused. Kill them.
Fixes: ba6f7da99aaf ("lightnvm: remove set but not used variables 'data_len' and 'rq_len'")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm')
-rw-r--r-- | drivers/lightnvm/pblk-read.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/lightnvm/pblk-read.c b/drivers/lightnvm/pblk-read.c index 0cdc48f9cfbf..8efd14e683dc 100644 --- a/drivers/lightnvm/pblk-read.c +++ b/drivers/lightnvm/pblk-read.c @@ -417,8 +417,6 @@ out: int pblk_submit_read_gc(struct pblk *pblk, struct pblk_gc_rq *gc_rq) { - struct nvm_tgt_dev *dev = pblk->dev; - struct nvm_geo *geo = &dev->geo; struct nvm_rq rqd; int ret = NVM_IO_OK; |