From: Dan Carpenter Date: Mon, 31 May 2010 21:08:55 +0000 (+0000) Subject: caif: remove unneeded variable from caif_net_open() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7c25492871a50f9f72f4d1350bdea53169024864;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Acked-by: Sjur Braendeland Signed-off-by: David S. Miller --- 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; }