|author||Colin Ian King <firstname.lastname@example.org>||2018-01-30 17:47:07 +0000|
|committer||Ross Zwisler <email@example.com>||2018-02-03 00:23:01 -0700|
|parent||acpi, nfit: fix register dimm error handling (diff)|
libnvdimm, namespace: remove redundant initialization of 'nd_mapping'
Pointer nd_mapping is being initialized to a value that is never read, instead it is being updated to a new value in all the cases where it is being read afterwards, hence the initialization is redundant and can be removed. Cleans up clang warning: drivers/nvdimm/namespace_devs.c:2411:21: warning: Value stored to 'nd_mapping' during its initialization is never rea Signed-off-by: Colin Ian King <firstname.lastname@example.org> Reviewed-by: Ross Zwisler <email@example.com> Signed-off-by: Ross Zwisler <firstname.lastname@example.org>
Diffstat (limited to 'tools/testing/nvdimm/test')
0 files changed, 0 insertions, 0 deletions