Files
linux/drivers
Colin Ian King 014c8ea230 netxen_nic: set rcode to the return status from the call to netxen_issue_cmd
[ Upstream commit 0fe20fafd1 ]

Currently rcode is being initialized to NX_RCODE_SUCCESS and later it
is checked to see if it is not NX_RCODE_SUCCESS which is never true. It
appears that there is an unintentional missing assignment of rcode from
the return of the call to netxen_issue_cmd() that was dropped in
an earlier fix, so add it in.

Detected by CoverityScan, CID#401900 ("Logically dead code")

Fixes: 2dcd5d95ad ("netxen_nic: fix cdrp race condition")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:47:54 +02:00
..
2017-12-14 09:28:24 +01:00
2018-04-08 12:12:46 +02:00
2018-03-24 11:00:10 +01:00
2018-02-25 11:05:55 +01:00
2017-09-09 17:39:41 +02:00
2018-04-13 19:47:52 +02:00