summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-05-09 17:19:42 +0100
committerDavid S. Miller <davem@davemloft.net>2017-05-11 12:16:04 -0400
commit0fe20fafd1791f993806d417048213ec57b81045 (patch)
treeb306c9ed7950b10247e5ffc493b9f4582079dbb3 /net/dccp
parent8d66c30b12ed3cb533696dea8b9a9eadd5da426a (diff)
downloadop-kernel-dev-0fe20fafd1791f993806d417048213ec57b81045.zip
op-kernel-dev-0fe20fafd1791f993806d417048213ec57b81045.tar.gz
netxen_nic: set rcode to the return status from the call to netxen_issue_cmd
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: 2dcd5d95ad6b2 ("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>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud