caif: remove unneeded variable from caif_net_open()
authorDan Carpenter <error27@gmail.com>
Mon, 31 May 2010 21:08:55 +0000 (21:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 12:16:21 +0000 (05:16 -0700)
We don't use the "ser" variable so I've removed it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_serial.c

index 09257ca..f30a6a0 100644 (file)
@@ -410,8 +410,6 @@ static void caifdev_setup(struct net_device *dev)
 
 static int caif_net_open(struct net_device *dev)
 {
-       struct ser_device *ser;
-       ser = netdev_priv(dev);
        netif_wake_queue(dev);
        return 0;
 }