Skip to content

clean up some functions in nvdimm/badrange.c and namespace_devs.c

Zhen Lei linux-nvdimm lkml nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libnvdimm: remove redundant list_empty() check in badrange.cdrivers/nvdimm/badrange.c+0 -100 replies
2/4libnvdimm: eliminate a meaningless spinlock operationdrivers/nvdimm/badrange.c+8 -140 replies
3/4libnvdimm: eliminate two unnecessary zero initializations in badrange.cdrivers/nvdimm/badrange.c+2 -21 reply
4/4libnvdimm: avoid unnecessary judgments in nvdimm_namespace_disk_name()drivers/nvdimm/namespace_devs.c+5 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] clean up some functions in nvdimm/badrange.c and namespace_devs.c

When I learned the code of drivers/nvdimm, I found some places can be improved.

Zhen Lei (4):
libnvdimm: remove redundant list_empty() check in badrange.c
libnvdimm: eliminate a meaningless spinlock operation
libnvdimm: eliminate two unnecessary zero initializations in
badrange.c
libnvdimm: avoid unnecessary judgments in nvdimm_namespace_disk_name()

 drivers/nvdimm/badrange.c       | 36 ++++++++++--------------------------
 drivers/nvdimm/namespace_devs.c | 12 +++++-------
 2 files changed, 15 insertions(+), 33 deletions(-)
Signature · 5 lines
1.8.3

_______________________________________________
Linux-nvdimm mailing list -- [email protected]
To unsubscribe send an email to [email protected]