Markus Elfring d4c5725d57 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>
2016-07-24 08:04:55 -07:00
..
2016-05-20 22:02:57 -07:00
2015-06-24 21:24:10 -04:00
2016-07-11 16:16:03 -07:00
2016-05-20 22:02:57 -07:00
2016-07-12 19:25:38 -07:00
2016-07-11 16:16:03 -07:00