diff options
author | Javier González | 2018-01-05 14:16:07 +0100 |
---|---|---|
committer | Jens Axboe | 2018-01-05 08:50:12 -0700 |
commit | d6d3ec2a3be37ca5309013b46ede37b2aa09ced1 (patch) | |
tree | 01526278e2e68385d72c3cdbd9e505494a5b0299 /drivers | |
parent | b1bcfda10549c6f887e4360a7691021808206c47 (diff) |
lightnvm: pblk: remove pblk_for_each_lun helper
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/lightnvm/pblk.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h index d68a94dca731..1dbb0bf4d9a3 100644 --- a/drivers/lightnvm/pblk.h +++ b/drivers/lightnvm/pblk.h @@ -51,10 +51,6 @@ #define NR_PHY_IN_LOG (PBLK_EXPOSED_PAGE_SIZE / PBLK_SECTOR) -#define pblk_for_each_lun(pblk, rlun, i) \ - for ((i) = 0, rlun = &(pblk)->luns[0]; \ - (i) < (pblk)->nr_luns; (i)++, rlun = &(pblk)->luns[(i)]) - /* Static pool sizes */ #define PBLK_GEN_WS_POOL_SIZE (2) |