summaryrefslogtreecommitdiffstats
path: root/drivers/net/caif
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-31 21:08:55 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-02 05:16:21 -0700
commit7c25492871a50f9f72f4d1350bdea53169024864 (patch)
treefb068a702d31e1bd80f2d2d0eca74f232ead6ee7 /drivers/net/caif
parent79640a4ca6955e3ebdb7038508fa7a0cd7fa5527 (diff)
downloadop-kernel-dev-7c25492871a50f9f72f4d1350bdea53169024864.zip
op-kernel-dev-7c25492871a50f9f72f4d1350bdea53169024864.tar.gz
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 09257ca..f30a6a0 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;
}
OpenPOWER on IntegriCloud