diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-05-30 09:55:32 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-05 06:34:14 +0300 |
commit | fd83e2c27c1bd8b0e9dc7596339c2411385f8b0c (patch) | |
tree | 7852ad94ac8b2765c5a2e3fffda120a5189393fd | |
parent | 1afd5be87e30997a5623260d9177ed62cf88adbe (diff) | |
download | op-kernel-dev-fd83e2c27c1bd8b0e9dc7596339c2411385f8b0c.zip op-kernel-dev-fd83e2c27c1bd8b0e9dc7596339c2411385f8b0c.tar.gz |
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>
-rw-r--r-- | net/bluetooth/l2cap_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 3daac2c..953ac53 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -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) |