mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
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: 37d79d0596
("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>
This commit is contained in:
parent
991aef4ee4
commit
298b83e180
@ -527,8 +527,6 @@ static int octep_open(struct net_device *netdev)
|
||||
return 0;
|
||||
|
||||
set_queues_err:
|
||||
octep_napi_disable(oct);
|
||||
octep_napi_delete(oct);
|
||||
octep_clean_irqs(oct);
|
||||
setup_irq_err:
|
||||
octep_free_oqs(oct);
|
||||
|
Loading…
Reference in New Issue
Block a user