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 09257ca8f563b5239a219b7b8c811d8d29fe735b..f30a6a0151447b2d2857becd764cb1165107a182 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;
 }