Commit d4c5725d authored by Committed by Dan Williams
libnvdimm-btt: Delete an unnecessary check before the function call "__nd_device_register"
The __nd_device_register() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <email@example.com> Signed-off-by: Dan Williams <firstname.lastname@example.org>
Showing with 1 addition and 2 deletions