diff options
author | Hans de Goede <[email protected]> | 2018-11-28 17:57:56 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2019-01-07 09:23:23 +0100 |
commit | 862523297778775a0543110dcbf2ca832782f675 (patch) | |
tree | 05da9411d57ea528cd6c6ee13993e389f56a2e8d /net/lapb/lapb_timer.c | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
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 <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions