summaryrefslogtreecommitdiffstats
path: root/drivers/net/caif
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-31 23:08:55 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-02 14:16:21 +0200
commit7c25492871a50f9f72f4d1350bdea53169024864 (patch)
treefb068a702d31e1bd80f2d2d0eca74f232ead6ee7 /drivers/net/caif
parentnet: add additional lock to qdisc to increase throughput (diff)
downloadlinux-7c25492871a50f9f72f4d1350bdea53169024864.tar.xz
linux-7c25492871a50f9f72f4d1350bdea53169024864.zip
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>
Diffstat (limited to 'drivers/net/caif')
-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)
static int caif_net_open(struct net_device *dev)
{
- struct ser_device *ser;
- ser = netdev_priv(dev);
netif_wake_queue(dev);
return 0;
}