bnxt_en: Refactor bnxt_close_nic().
commit86e953db0114f396f916344395160aa267bf2627
authorMichael Chan <michael.chan@broadcom.com>
Wed, 17 Jan 2018 08:21:04 +0000 (17 03:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2018 19:48:25 +0000 (17 14:48 -0500)
tree222d5e6a1b61ddc68d688a7421f0f6acd0e815f6
parent894aa69a90932907f3de9d849ab9970884151d0e
bnxt_en: Refactor bnxt_close_nic().

Add a new __bnxt_close_nic() function to do all the work previously done
in bnxt_close_nic() except waiting for SRIOV configuration.  The new
function will be used in the next patch as part of SRIOV cleanup.

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