Commit 31dca45c authored by Alexander Viro's avatar Alexander Viro Committed by Stephen Hemminger

[wireless wl3501_cs] remove unused constructor

parent cb7ac7b5
...@@ -1449,18 +1449,6 @@ static int wl3501_open(struct net_device *dev) ...@@ -1449,18 +1449,6 @@ static int wl3501_open(struct net_device *dev)
goto out; goto out;
} }
/**
* wl3501_init - "initialize" board
* @dev - network device
*
* We never need to do anything when a wl3501 device is "initialized" by the net
* software, because we only register already-found cards.
*/
static int wl3501_init(struct net_device *dev)
{
return 0;
}
struct net_device_stats *wl3501_get_stats(struct net_device *dev) struct net_device_stats *wl3501_get_stats(struct net_device *dev)
{ {
struct wl3501_card *this = dev->priv; struct wl3501_card *this = dev->priv;
...@@ -2056,7 +2044,6 @@ static dev_link_t *wl3501_attach(void) ...@@ -2056,7 +2044,6 @@ static dev_link_t *wl3501_attach(void)
dev = alloc_etherdev(sizeof(struct wl3501_card)); dev = alloc_etherdev(sizeof(struct wl3501_card));
if (!dev) if (!dev)
goto out_link; goto out_link;
dev->init = wl3501_init;
dev->open = wl3501_open; dev->open = wl3501_open;
dev->stop = wl3501_close; dev->stop = wl3501_close;
dev->hard_start_xmit = wl3501_hard_start_xmit; dev->hard_start_xmit = wl3501_hard_start_xmit;
......
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