diff options
author | Somnath Kotur <[email protected]> | 2021-07-26 14:52:48 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-07-26 22:40:26 +0100 |
commit | 758684e49f4c7ea2a75e249e486659f0950cd63e (patch) | |
tree | a673e9c11ad60fff8b4711212bbe93560bb8442d /kernel/gcov/clang.c | |
parent | 92766c4628ea349c8ddab0cd7bd0488f36e5c4ce (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 <[email protected]>
Signed-off-by: Somnath Kotur <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'kernel/gcov/clang.c')
0 files changed, 0 insertions, 0 deletions