diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2016-03-04 11:15:07 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-03-09 20:42:47 -0500 |
commit | 7f8b8f3fba55b345f9b6e3f55906bef6e29e354b (patch) | |
tree | 313a013b0c1e682fc844fd82275de9d6f3c58fde /MAINTAINERS | |
parent | 83430833b4d4a9c9b23964babbeb1f36450f8136 (diff) |
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 <lars@metafoo.de>
Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions