diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-11-28 17:57:56 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-01-07 09:23:23 +0100 |
commit | 862523297778775a0543110dcbf2ca832782f675 (patch) | |
tree | 05da9411d57ea528cd6c6ee13993e389f56a2e8d /tools/arch/arc/include | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
download | linux-862523297778775a0543110dcbf2ca832782f675.tar.gz linux-862523297778775a0543110dcbf2ca832782f675.tar.bz2 linux-862523297778775a0543110dcbf2ca832782f675.zip |
gpiolib-acpi: Remove unnecessary WARN_ON from acpi_gpiochip_free_interrupts
acpi_gpiochip_alloc_event only continues allocating an event and adding
it to the list if gpiochip_request_own_desc does not return an error.
So events with an error desc are never placed on the events list and this
check is really not necessary.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/arch/arc/include')
0 files changed, 0 insertions, 0 deletions