staging: wilc1000: remove redundant result < 0 check
authorColin Ian King <colin.king@canonical.com>
Tue, 28 Feb 2017 12:05:48 +0000 (12:05 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:08 +0000 (09:17 +0100)
commit2af5f669be1446a7db56c699265bc9e4cda92577
treec8e0cf0cf79f0d7034919bd50ab3aa71ea088a7c
parent079306e979d7f8bb1081ce43c7fc1fa8c1d45d55
staging: wilc1000: remove redundant result < 0 check

The check for result < 0 is redundant because at that point result
is always zero, hence we can remove this check and the netdev_err
message.

Detected by CoverityScan, CID#1357147 ("Logically Dead Code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c