aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2016-03-04 10:15:07 +0000
committerMartin K. Petersen <[email protected]>2016-03-10 01:42:47 +0000
commit7f8b8f3fba55b345f9b6e3f55906bef6e29e354b (patch)
tree313a013b0c1e682fc844fd82275de9d6f3c58fde /net/switchdev/switchdev.c
parentcxlflash: Increase cmd_per_lun for better throughput (diff)
downloadkernel-7f8b8f3fba55b345f9b6e3f55906bef6e29e354b.tar.gz
kernel-7f8b8f3fba55b345f9b6e3f55906bef6e29e354b.zip
mpt3sas: 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. Patch was generated using the following semantic patch: // <smpl> @@ expression irq; @@ -synchronize_irq(irq); free_irq(irq, ...); // </smpl> Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Sreekanth Reddy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions