diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-05-25 22:54:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-26 14:55:38 -0400 |
commit | 82533ad9a1ce3a7a6863849a552c2cc041b55e0d (patch) | |
tree | c2d83c405f192cfd5b792427fb3f5b4366f110da /net/core/net-sysfs.c | |
parent | 0e9a709560dbcfbace8bf4019dc5298619235891 (diff) | |
download | linux-82533ad9a1ce3a7a6863849a552c2cc041b55e0d.tar.gz linux-82533ad9a1ce3a7a6863849a552c2cc041b55e0d.tar.bz2 linux-82533ad9a1ce3a7a6863849a552c2cc041b55e0d.zip |
net: ethernet: ax88796: don't call free_irq without request_irq first
The function ax_init_dev (which is called only from the driver's .probe
function) calls free_irq in the error path without having requested the
irq in the first place. So drop the free_irq call in the error path.
Fixes: 825a2ff1896e ("AX88796 network driver")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.c')
0 files changed, 0 insertions, 0 deletions