xtsonic: free irq if sonic_open() fails
authorKulikov Vasiliy <segooon@gmail.com>
Sat, 10 Jul 2010 01:01:44 +0000 (01:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2010 03:21:45 +0000 (20:21 -0700)
commitdbe000ed3f3033e8e6321d79023c827faf649c4d
tree324eb7512d9a72d2b5c372e78851b814fc6e0568
parent546e3abde391ef01ef4690e941611654343ea0bf
xtsonic: free irq if sonic_open() fails

xtsonic_open() doesn't check sonic_open() return code. If it is error
we must free requested IRQ.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xtsonic.c