summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@broadcom.com>2021-07-26 14:52:48 -0400
committerDavid S. Miller <davem@davemloft.net>2021-07-26 22:40:26 +0100
commit758684e49f4c7ea2a75e249e486659f0950cd63e (patch)
treea673e9c11ad60fff8b4711212bbe93560bb8442d /net
parent92766c4628ea349c8ddab0cd7bd0488f36e5c4ce (diff)
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')
0 files changed, 0 insertions, 0 deletions