From: Kalesh AP Date: Wed, 2 Oct 2019 17:17:40 +0000 (-0700) Subject: net/bnxt: remove unnecessary interrupt disable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=807d0a1e96dfb3b19976bf442306e22e4d6bdb8e;p=dpdk.git 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 Signed-off-by: Ajit Khaparde Reviewed-by: Lance Richardson --- diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 4d15ba5ceb..74ded7717a 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -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);