]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: msic: Remove duplicate check in IRQ handler
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 29 Jan 2019 19:01:30 +0000 (21:01 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Feb 2019 13:55:39 +0000 (15:55 +0200)
commit4888f23adc68fc661120f9b226b3685ce9c15bde
tree989528dfd72e5c8ee6ea8840672917464e251077
parent9adbddab55330385a71ccf084b493d4e49fc135e
gpio: msic: Remove duplicate check in IRQ handler

There is no need to check for non-zero pending since for_each_set_bit() does it
on the first iteration.

While here, drop redundant assignment.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-msic.c