Commit f0e6f416 authored by Jens Axboe's avatar Jens Axboe

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
...@@ -417,8 +417,6 @@ static int read_rq_gc(struct pblk *pblk, struct nvm_rq *rqd, ...@@ -417,8 +417,6 @@ static int read_rq_gc(struct pblk *pblk, struct nvm_rq *rqd,
int pblk_submit_read_gc(struct pblk *pblk, struct pblk_gc_rq *gc_rq) 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; struct nvm_rq rqd;
int ret = NVM_IO_OK; int ret = NVM_IO_OK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment