summaryrefslogtreecommitdiff
path: root/net/can/raw.c
diff options
context:
space:
mode:
authorMinghao Chi <chi.minghao@zte.com.cn>2022-05-13 08:19:18 +0000
committerDavid S. Miller <davem@davemloft.net>2022-05-16 11:47:22 +0100
commitd887ae3247e022183f244cb325dca1dfbd0a9ed0 (patch)
tree852905cf4db42ac80acc5ed5c140f3fc396dcde2 /net/can/raw.c
parentb321dfafb0b99e285d14bcaae00b4f9093556eb6 (diff)
downloadlinux-d887ae3247e022183f244cb325dca1dfbd0a9ed0.tar.gz
linux-d887ae3247e022183f244cb325dca1dfbd0a9ed0.tar.bz2
linux-d887ae3247e022183f244cb325dca1dfbd0a9ed0.zip
octeontx2-pf: 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. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/raw.c')
0 files changed, 0 insertions, 0 deletions