projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1bcfda
)
lightnvm: pblk: remove pblk_for_each_lun helper
author
Javier González
<javier@cnexlabs.com>
Fri, 5 Jan 2018 13:16:07 +0000
(14:16 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 5 Jan 2018 15:50:12 +0000
(08:50 -0700)
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>
drivers/lightnvm/pblk.h
patch
|
blob
|
history
diff --git
a/drivers/lightnvm/pblk.h
b/drivers/lightnvm/pblk.h
index d68a94dca73147402bdc5e3a6f23d41c29932272..1dbb0bf4d9a328a064c7cf774a25497c2683cfa6 100644
(file)
--- 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)