Staging: dgap: Remove unnecessary test expression
authorShivani Bhardwaj <shivanib134@gmail.com>
Fri, 16 Oct 2015 16:39:57 +0000 (22:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:06:38 +0000 (23:06 -0700)
commit258e7af2954fb68b55fe9253560f6dfaa4896e54
treee646c802f05c9081f1fc9139288ce845e11d612c
parent15aae23e9e5e98a93cf4d942080d17a6ef07d074
Staging: dgap: Remove unnecessary test expression

struct bd is already NULL tested so, any further NULL checks should be
removed.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c