drivers/net: Do not free an IRQ if its request failed
authorLee Jones <lee.jones@linaro.org>
Thu, 19 Apr 2012 10:36:33 +0000 (10:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2012 20:41:11 +0000 (16:41 -0400)
commit163faf31778e536ac6125bc8b14f4667adc910e9
tree6d32a170b6a840600fd2a0243f358587665c1691
parentbbe362be5368b9f531b95a4a9b502ae2832e1dac
drivers/net: Do not free an IRQ if its request failed

Refrain from attempting to free an interrupt line if the request
fails and hence, there is no IRQ to free.

CC: netdev@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c