Commit 331eae6c authored by Ondrej Zary's avatar Ondrej Zary Committed by Greg Kroah-Hartman

staging: ft1000-pcmcia: remove useless ft1000_release() function

Remove useless ft1000_release() function.
Signed-off-by: default avatarOndrej Zary <linux@rainbow-software.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 503b2d0e
...@@ -46,7 +46,6 @@ struct net_device *init_ft1000_card(struct pcmcia_device *link, ...@@ -46,7 +46,6 @@ struct net_device *init_ft1000_card(struct pcmcia_device *link,
void stop_ft1000_card(struct net_device *); void stop_ft1000_card(struct net_device *);
static int ft1000_config(struct pcmcia_device *link); static int ft1000_config(struct pcmcia_device *link);
static void ft1000_release(struct pcmcia_device *link);
static void ft1000_detach(struct pcmcia_device *link); static void ft1000_detach(struct pcmcia_device *link);
static int ft1000_attach(struct pcmcia_device *link); static int ft1000_attach(struct pcmcia_device *link);
...@@ -119,21 +118,8 @@ static int ft1000_config(struct pcmcia_device *link) ...@@ -119,21 +118,8 @@ static int ft1000_config(struct pcmcia_device *link)
return 0; return 0;
failed: failed:
ft1000_release(link);
return -ENODEV;
}
/*======================================================================
After a card is removed, ft1000_release() will unregister the
device, and release the PCMCIA configuration. If the device is
still open, this will be postponed until it is closed.
======================================================================*/
static void ft1000_release(struct pcmcia_device *link)
{
pcmcia_disable_device(link); pcmcia_disable_device(link);
return -ENODEV;
} }
static int ft1000_suspend(struct pcmcia_device *link) static int ft1000_suspend(struct pcmcia_device *link)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment