]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
octeon_ep: delete unnecessary napi rollback under set_queues_err in octep_open()
authorZiyang Xuan <william.xuanziyang@huawei.com>
Fri, 11 Nov 2022 07:08:27 +0000 (15:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2022 10:55:43 +0000 (10:55 +0000)
commit298b83e180d53a310f9b47e3bf13b7b583e75e9c
tree0310b200e387ef0994fa078c5590e74b7485f172
parent991aef4ee4f6eb999924f429b943441a32835c8f
octeon_ep: delete unnecessary napi rollback under set_queues_err in octep_open()

octep_napi_add() and octep_napi_enable() are all after
netif_set_real_num_{tx,rx}_queues() in octep_open(), so it is unnecessary
napi rollback under set_queues_err. Delete them to fix it.

Fixes: 37d79d059606 ("octeon_ep: add Tx/Rx processing and interrupt support")
Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeon_ep/octep_main.c