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>
This commit is contained in:
parent
79640a4ca6
commit
7c25492871
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue