staging: octeon: Remove explicit NULL comparison
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Mon, 19 Oct 2015 19:27:38 +0000 (00:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:28:52 +0000 (19:28 -0700)
commit192b6a8475f8312f0d1f19a010fcca322018d14f
tree60a1a4266b0ab57bea620e445f221439e250efcb
parent4ef2de5ae0377bc88c1f5021c3797db3c62bc384
staging: octeon: Remove explicit NULL comparison

Remove the explicit NULL comparison and rewrite in a compact form.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet.c