bnxt_en: Remove the read of BNXT_FW_RESET_INPROG_REG after firmware reset.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Mon, 22 Mar 2021 07:08:44 +0000 (03:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2021 20:07:28 +0000 (13:07 -0700)
commitbae8a00379f4c1327c8e38a768083460b5ad5b12
tree2e26f751d6b9709f950d3dbdb97379cfe1cad771
parent2924ad95cb51673ed3544cf371cafc66e2c76cc8
bnxt_en: Remove the read of BNXT_FW_RESET_INPROG_REG after firmware reset.

Once the chip goes through reset, the register mapping may be lost
and any read of the mapped health registers may return garbage value
until the registers are mapped again in the init path.

Reading BNXT_FW_RESET_INPROG_REG after firmware reset will likely
return garbage value due to the above reason.  Reading this register
is for information purpose only so remove it.

Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c