Commit fd83e2c2 authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Johan Hedberg

Bluetooth: Do not check func ready existence

Functions will be always defined and in case not implemented as
dummy __no_func.
Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent 1afd5be8
......@@ -945,8 +945,7 @@ static void l2cap_chan_ready(struct l2cap_chan *chan)
chan->state = BT_CONNECTED;
if (chan->ops->ready)
chan->ops->ready(chan);
chan->ops->ready(chan);
}
static void l2cap_do_start(struct l2cap_chan *chan)
......
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