diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-07-24 12:05:34 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-07-24 18:04:55 +0300 |
commit | d4c5725d57323e2348940fcc6416072671a9b432 (patch) | |
tree | 3ed4bc4ebe5a325d217e9a9a9fcea258d7d758b2 /tools/testing | |
parent | 6839a6d96f4ea0254266d60208c1fbbd53ade546 (diff) | |
download | linux-d4c5725d57323e2348940fcc6416072671a9b432.tar.xz |
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 <elfring@users.sourceforge.net>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions