i40e: Remove unnecessary synchronize_irq() before free_irq()
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 18 May 2022 21:31:11 +0000 (14:31 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 21 Jun 2022 20:50:38 +0000 (13:50 -0700)
commit3e0fcb782a9ff02afcf426b5c84fbeccbdb50fae
treedf91d230848dd9fb5602c9002f3b9995731aab3d
parent7f72d923149c6355285fbd315c3d81e50993cc31
i40e: Remove unnecessary synchronize_irq() before free_irq()

Calling synchronize_irq() right before free_irq() is quite useless. On one
hand the IRQ can easily fire again before free_irq() is entered, on the
other hand free_irq() itself calls synchronize_irq() internally (in a race
condition free way), before any state associated with the IRQ is freed.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c