commit | 0797c10d2d1fa0d6f14612404781b348fc757c3e | [log] [tgz] |
---|---|---|
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | Tue Dec 10 02:49:11 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 10 17:37:14 2019 -0800 |
tree | fd4c805b29176bedf58cfc1f56def2442df44961 | |
parent | 8280b38e01f71e0f89389ccad3fa43b79e57c604 [diff] |
bnxt_en: Remove unnecessary NULL checks for fw_health After fixing the allocation of bp->fw_health in the previous patch, the driver will not go through the fw reset and recovery code paths if bp->fw_health allocation fails. So we can now remove the unnecessary NULL checks. Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>