linux/drivers/scsi/be2iscsi
Lars-Peter Clausen e729b50307 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 <lars@metafoo.de>
Reviewed-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-03-07 21:07:50 -05:00
..
be.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_cmds.c be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_cmds.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_iscsi.c be2iscsi: Rename MCC and BMBX processing functions 2016-02-23 21:27:02 -05:00
be_iscsi.h MAINTAINERS, be2iscsi: change email domain 2015-05-18 11:34:52 -07:00
be_main.c be2iscsi: Remove unnecessary synchronize_irq() before free_irq() 2016-03-07 21:07:50 -05:00
be_main.h be2iscsi: Add lock to protect WRB alloc and free 2016-02-23 21:27:02 -05:00
be_mgmt.c be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_mgmt.h be2iscsi: Fix to handle misconfigured optics events 2016-02-23 21:27:02 -05:00
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00