summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm
diff options
context:
space:
mode:
authorJavier González <javier@javigon.com>2018-10-09 13:11:44 +0200
committerJens Axboe <axboe@kernel.dk>2018-10-09 08:25:06 -0600
commit7a7d6f9b48cce82a1a666ec958125f257e5786fc (patch)
tree03b6b88403f3968dd67d7fc5976dbcc8748f4c6b /drivers/lightnvm
parent2e696f9093d0778d66d486c42577d651b60534ab (diff)
downloadlinux-7a7d6f9b48cce82a1a666ec958125f257e5786fc.tar.bz2
lightnvm: pblk: remove unused variable.
Removed unused struct ppa_addr variable. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm')
-rw-r--r--drivers/lightnvm/pblk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h
index af9477b7e803..1865ac1560fa 100644
--- a/drivers/lightnvm/pblk.h
+++ b/drivers/lightnvm/pblk.h
@@ -1373,7 +1373,6 @@ static inline int pblk_check_io(struct pblk *pblk, struct nvm_rq *rqd)
if (rqd->opcode == NVM_OP_PWRITE) {
struct pblk_line *line;
- struct ppa_addr ppa;
int i;
for (i = 0; i < rqd->nr_ppas; i++) {