summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2007-11-17 15:55:10 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-23 03:11:44 -0800
commit11913d30b9fb985b12835037281ae0483be59623 (patch)
tree6e5dbe83cf23ff14a5fea30d23397f5f38b3c22f /drivers/net
parentebc71647309539aaf9088f4e41b9f364cce8f7eb (diff)
downloadop-kernel-dev-11913d30b9fb985b12835037281ae0483be59623.zip
op-kernel-dev-11913d30b9fb985b12835037281ae0483be59623.tar.gz
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')
-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 c63f484..92e0eb9 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);
OpenPOWER on IntegriCloud