]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Refactor bnxt_close_nic().
authorMichael Chan <michael.chan@broadcom.com>
Wed, 17 Jan 2018 08:21:04 +0000 (03:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2018 19:48:25 +0000 (14:48 -0500)
commit074f8e932f8a1fb956f512155148d6248bcbf38a
tree222d5e6a1b61ddc68d688a7421f0f6acd0e815f6
parent78046c5cde242d5cb2b0f91bd33bd7bb2de496e9
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