]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: enetc: extract enetc_int_vector_init/destroy() from enetc_alloc_msix()
authorClark Wang <xiaoning.wang@nxp.com>
Wed, 30 Oct 2024 09:39:20 +0000 (17:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Nov 2024 10:03:51 +0000 (10:03 +0000)
commitb4bfd0a904e9e4b584111374adea72cc5fd83cf4
tree6dbd0f6716272621edf98c6c8c702aecb6adc2c3
parenta52201fb9caa9b33b4d881725d1ec733438b07f2
net: enetc: extract enetc_int_vector_init/destroy() from enetc_alloc_msix()

Extract enetc_int_vector_init() and enetc_int_vector_destroy() from
enetc_alloc_msix() so that the code is more concise and readable.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.c