diff options
author | Minghao Chi <chi.minghao@zte.com.cn> | 2022-05-13 10:16:47 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-05-17 13:53:30 +0200 |
commit | 845517ed04aec32065febd2e2afa3902ebabaf54 (patch) | |
tree | ab625d051d891a39418c653716996360e4514075 /drivers/leds/leds-is31fl32xx.c | |
parent | RDMA/hns: Use hr_reg_read() instead of remaining roce_get_xxx() (diff) | |
download | linux-845517ed04aec32065febd2e2afa3902ebabaf54.tar.xz linux-845517ed04aec32065febd2e2afa3902ebabaf54.zip |
RDMA/qedr: 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.
Link: https://lore.kernel.org/r/20220513081647.1631141-1-chi.minghao@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/leds/leds-is31fl32xx.c')
0 files changed, 0 insertions, 0 deletions