OSDN Git Service

can: xilinx_can: xcan_remove(): remove redundant netif_napi_del()
authorDongliang Mu <mudongliangabcd@gmail.com>
Sun, 17 Oct 2021 12:50:21 +0000 (20:50 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 24 Oct 2021 14:26:05 +0000 (16:26 +0200)
commitb9b8218bb3c064628799f83c754dbebd124bd498
tree2f1114a69ec0873fcead5866ba5351a5d7575668
parentc92603931bfd1367c34481b98ed22728e4299824
can: xilinx_can: xcan_remove(): remove redundant netif_napi_del()

Since netif_napi_del() is already done in the free_candev(), we remove
this redundant netif_napi_del() invocation. In addition, this patch
can match the operations in the xcan_probe() and xcan_remove()
functions.

Link: https://lore.kernel.org/all/20211017125022.3100329-1-mudongliangabcd@gmail.com
Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c