sis190: remove duplicate INIT_WORK
authorFrancois Romieu <romieu@fr.zoreil.com>
Sat, 17 Nov 2007 14:55:10 +0000 (15:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2008 11:11:44 +0000 (03:11 -0800)
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>
drivers/net/sis190.c

index c63f484f9072730a0c92f352f0dc7df766bbc524..92e0eb95ff8c548a8b316c118f588916fcbeef2f 100644 (file)
@@ -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);