net/bnxt: remove unnecessary interrupt disable
Since bnxt_enable_int() is called at start time, invoke bnxt_disable_int() during stop only. Remove it from device uninit function. Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
This commit is contained in:
parent
a05e5dc153
commit
807d0a1e96
@ -4576,7 +4576,6 @@ bnxt_uninit_resources(struct bnxt *bp, bool reconfig_dev)
|
||||
{
|
||||
int rc;
|
||||
|
||||
bnxt_disable_int(bp);
|
||||
bnxt_free_int(bp);
|
||||
bnxt_free_mem(bp, reconfig_dev);
|
||||
bnxt_hwrm_func_buf_unrgtr(bp);
|
||||
|
Loading…
Reference in New Issue
Block a user