Skip to content
Commit 00b992de authored by Alexander Kuleshov's avatar Alexander Kuleshov Committed by Thomas Gleixner
Browse files

genirq: No need to mask non trigger mode flags before __irq_set_trigger()



Some callers of __irq_set_trigger() masks all flags except trigger mode
flags. This is unnecessary, ase __irq_set_trigger() already does this
before usage of flags.

[ tglx: Moved the flag mask and adjusted comment. Removed the hunk in
  	enable_percpu_irq() as it is required there ]

Signed-off-by: default avatarAlexander Kuleshov <kuleshovmail@gmail.com>
Link: http://lkml.kernel.org/r/20160719095408.13778-1-kuleshovmail@gmail.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 545d5d65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment