staging: wilc1000: remove 'if' on field address
authorDafna Hirschfeld <dafna3@gmail.com>
Thu, 22 Feb 2018 07:10:12 +0000 (09:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2018 13:53:05 +0000 (14:53 +0100)
commit1646ff6c6618b04929823f8bfe9b3e505e28fe0e
tree9e497bb1088e8d26a7c2ea044d01a655b6f88b87
parente69a0500f23dc643bf974e04386c6f1a427c6448
staging: wilc1000: remove 'if' on field address

Remove 'if' statements testing struct's field address.
Since such statements always return true, they are redundant.

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c