diff options
author | 2021-07-26 14:52:48 -0400 | |
---|---|---|
committer | 2021-07-26 22:40:26 +0100 | |
commit | 758684e49f4c7ea2a75e249e486659f0950cd63e (patch) | |
tree | a673e9c11ad60fff8b4711212bbe93560bb8442d /net/unix/af_unix.c | |
parent | net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset (diff) | |
download | wireguard-linux-758684e49f4c7ea2a75e249e486659f0950cd63e.tar.xz wireguard-linux-758684e49f4c7ea2a75e249e486659f0950cd63e.zip |
bnxt_en: Fix static checker warning in bnxt_fw_reset_task()
Now that we return when bnxt_open() fails in bnxt_fw_reset_task(),
there is no need to check for 'rc' value again before invoking
bnxt_reenable_sriov().
Fixes: 3958b1da725a ("bnxt_en: fix error path of FW reset")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions