summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-08-08 22:11:28 -0600
committerJens Axboe <axboe@kernel.dk>2019-08-08 22:14:04 -0600
commitf0e6f41669d9e07f45b472e4de33d7c233a847bd (patch)
tree0512a033d708ea3336e2c9377956237102df425a /drivers
parentfdbe4eeeb1aac219b14f10c0ed31ae5d1123e9b8 (diff)
downloadtalos-op-linux-f0e6f41669d9e07f45b472e4de33d7c233a847bd.tar.gz
talos-op-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')
-rw-r--r--drivers/lightnvm/pblk-read.c2
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;
OpenPOWER on IntegriCloud