Commit 82a12426 authored by Meng Yu's avatar Meng Yu Committed by Marcel Holtmann

Bluetooth: Remove 'return' in void function

void function return statements are not generally useful.
Signed-off-by: default avatarMeng Yu <yumeng18@huawei.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent d58cf00d
......@@ -841,8 +841,6 @@ static void chan_close_cb(struct l2cap_chan *chan)
} else {
spin_unlock(&devices_lock);
}
return;
}
static void chan_state_change_cb(struct l2cap_chan *chan, int state, int err)
......
......@@ -676,8 +676,6 @@ void l2cap_chan_del(struct l2cap_chan *chan, int err)
skb_queue_purge(&chan->tx_q);
break;
}
return;
}
EXPORT_SYMBOL_GPL(l2cap_chan_del);
......
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