dect
/
linux-2.6
Archived
13
0
Fork 0

Bluetooth: Do not check func ready existence

Functions will be always defined and in case not implemented as
dummy __no_func.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
This commit is contained in:
Andrei Emeltchenko 2012-05-30 09:55:32 +03:00 committed by Johan Hedberg
parent 1afd5be87e
commit fd83e2c27c
1 changed files with 1 additions and 2 deletions

View File

@ -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)