aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2016-03-04 10:15:06 +0000
committerMartin K. Petersen <[email protected]>2016-03-08 02:07:50 +0000
commite729b50307bfe9c541d08dd591c1dd6aef1999e8 (patch)
treebbaf5ea7c19e744a92c847a2ef49caaa3313bede /lib/string_helpers.c
parentscsi_sysfs: call 'device_add' after attaching device handler (diff)
downloadkernel-e729b50307bfe9c541d08dd591c1dd6aef1999e8.tar.gz
kernel-e729b50307bfe9c541d08dd591c1dd6aef1999e8.zip
be2iscsi: 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]> Reviewed-by: Jitendra Bhivare <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions