Skip to content

Commit

Permalink
caif: remove unneeded variable from caif_net_open()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Jun 2, 2010
1 parent 79640a4 commit 7c25492
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/caif/caif_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7c25492

Please sign in to comment.