From f0e6f41669d9e07f45b472e4de33d7c233a847bd Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 8 Aug 2019 22:11:28 -0600 Subject: [PATCH] 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 Signed-off-by: Jens Axboe --- drivers/lightnvm/pblk-read.c | 2 -- 1 file changed, 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; -- 2.30.2