diff options
| author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2019-12-10 02:49:11 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-04 19:18:53 +0100 |
| commit | 02aa518984e9879643aeefec95a7d09fba811179 (patch) | |
| tree | 5954fe58c9ac76da59f7c01bdddc6db35a60c115 /include/linux/string_helpers.h | |
| parent | 3f750698a0a8e3b559a4519edf7ec9e1ac2205aa (diff) | |
bnxt_en: Remove unnecessary NULL checks for fw_health
[ Upstream commit 0797c10d2d1fa0d6f14612404781b348fc757c3e ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions
