aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-31 17:08:55 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-02 08:16:21 -0400
commit7c25492871a50f9f72f4d1350bdea53169024864 (patch)
treefb068a702d31e1bd80f2d2d0eca74f232ead6ee7
parent79640a4ca6955e3ebdb7038508fa7a0cd7fa5527 (diff)
caif: remove unneeded variable from caif_net_open()
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>
-rw-r--r--drivers/net/caif/caif_serial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/caif/caif_serial.c b/drivers/net/caif/caif_serial.c
index 09257ca8f563..f30a6a015144 100644
--- a/drivers/net/caif/caif_serial.c
+++ b/drivers/net/caif/caif_serial.c
@@ -410,8 +410,6 @@ static void caifdev_setup(struct net_device *dev)
410 410
411static int caif_net_open(struct net_device *dev) 411static int caif_net_open(struct net_device *dev)
412{ 412{
413 struct ser_device *ser;
414 ser = netdev_priv(dev);
415 netif_wake_queue(dev); 413 netif_wake_queue(dev);
416 return 0; 414 return 0;
417} 415}