at1700: fix double free_irq
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 9 Jul 2010 02:31:26 +0000 (02:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jul 2010 01:15:08 +0000 (18:15 -0700)
commit451d33dd223f15451c1b8fb388447d39e1cd955b
treea7507b0a9f00d998af090973e6c11cc8da3c9be4
parent835bb606faffcd761e7abbc6b5de89ea5c409123
at1700: fix double free_irq

free_irq() is called both in net_close() and cleanup_card().  Since it
is requested in at1700_probe1(), leave free_irq() only in cleanup_card()
for balance.

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