Commit c469c9c9 authored by Kai Ye's avatar Kai Ye Committed by Marcel Holtmann

Bluetooth: 6lowpan: delete unneeded variable initialization

Delete unneeded variable initialization.
Signed-off-by: default avatarKai Ye <yekai13@huawei.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent ff8744b5
...@@ -691,7 +691,7 @@ static struct l2cap_chan *add_peer_chan(struct l2cap_chan *chan, ...@@ -691,7 +691,7 @@ static struct l2cap_chan *add_peer_chan(struct l2cap_chan *chan,
static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev) static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev)
{ {
struct net_device *netdev; struct net_device *netdev;
int err = 0; int err;
netdev = alloc_netdev(LOWPAN_PRIV_SIZE(sizeof(struct lowpan_btle_dev)), netdev = alloc_netdev(LOWPAN_PRIV_SIZE(sizeof(struct lowpan_btle_dev)),
IFACE_NAME_TEMPLATE, NET_NAME_UNKNOWN, IFACE_NAME_TEMPLATE, NET_NAME_UNKNOWN,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment