Commit f0e6f416 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: ba6f7da9 ("lightnvm: remove set but not used variables 'data_len' and 'rq_len'")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fdbe4eee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;