macsonic: free irqs if sonic_open() fails
authorKulikov Vasiliy <segooon@gmail.com>
Sat, 10 Jul 2010 01:39:06 +0000 (01:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2010 03:21:44 +0000 (20:21 -0700)
commit546e3abde391ef01ef4690e941611654343ea0bf
treef76dd44d1fe7d5d2f06fa178ca82033c09bf3ef5
parent62cd69a10683bd17a2454213b8c36a4399c533ab
macsonic: free irqs if sonic_open() fails

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

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