]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: ax88796: Do not free IRQ in ax_remove() (already freed in ax_close()).
authorMichael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Thu, 19 Apr 2018 02:05:21 +0000 (14:05 +1200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 20:11:10 +0000 (16:11 -0400)
commit6e29162e3210bea9270d3db107cd3432c8ff26d7
tree9e991583aeb58064d9f40e9ecc42a784938bc2de
parentb13e4be38dc126114c9aa644c5b7c3550cccd2b4
net-next: ax88796: Do not free IRQ in ax_remove() (already freed in ax_close()).

This complements the fix in 0bb7ee738c9 ("net: ethernet: ax88796:
don't call free_irq without request_irq first") that removed the
free_irq call in the error path of probe, to also not call free_irq
when remove is called to revert the effects of probe.

Fixes: 0bb7ee738c9 (net: ethernet: ax88796: don't call free_irq without request_irq first)
Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/8390/ax88796.c