File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
drivers/net/ethernet/realtek Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -4523,10 +4523,6 @@ static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance)
4523
4523
}
4524
4524
4525
4525
if (napi_schedule_prep (& tp -> napi )) {
4526
- rtl_unlock_config_regs (tp );
4527
- rtl_hw_aspm_clkreq_enable (tp , false);
4528
- rtl_lock_config_regs (tp );
4529
-
4530
4526
rtl_irq_disable (tp );
4531
4527
__napi_schedule (& tp -> napi );
4532
4528
}
@@ -4586,14 +4582,9 @@ static int rtl8169_poll(struct napi_struct *napi, int budget)
4586
4582
4587
4583
work_done = rtl_rx (dev , tp , budget );
4588
4584
4589
- if (work_done < budget && napi_complete_done (napi , work_done )) {
4585
+ if (work_done < budget && napi_complete_done (napi , work_done ))
4590
4586
rtl_irq_enable (tp );
4591
4587
4592
- rtl_unlock_config_regs (tp );
4593
- rtl_hw_aspm_clkreq_enable (tp , true);
4594
- rtl_lock_config_regs (tp );
4595
- }
4596
-
4597
4588
return work_done ;
4598
4589
}
4599
4590
You can’t perform that action at this time.
0 commit comments