summaryrefslogtreecommitdiff
path: root/drivers/net/sis190.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2007-11-17 17:55:10 +0300
committerDavid S. Miller <davem@davemloft.net>2008-01-23 14:11:44 +0300
commit11913d30b9fb985b12835037281ae0483be59623 (patch)
tree6e5dbe83cf23ff14a5fea30d23397f5f38b3c22f /drivers/net/sis190.c
parentebc71647309539aaf9088f4e41b9f364cce8f7eb (diff)
downloadlinux-11913d30b9fb985b12835037281ae0483be59623.tar.xz
sis190: remove duplicate INIT_WORK
It is already done in sis190_init_one. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: K.M. Liu <kmliu@sis.com.tw>
Diffstat (limited to 'drivers/net/sis190.c')
-rw-r--r--drivers/net/sis190.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index c63f484f9072..92e0eb95ff8c 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -1041,8 +1041,6 @@ static int sis190_open(struct net_device *dev)
if (rc < 0)
goto err_free_rx_1;
- INIT_WORK(&tp->phy_task, sis190_phy_task);
-
sis190_request_timer(dev);
rc = request_irq(dev->irq, sis190_interrupt, IRQF_SHARED, dev->name, dev);