aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-05-30 02:55:32 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-04 23:34:14 -0400
commitfd83e2c27c1bd8b0e9dc7596339c2411385f8b0c (patch)
tree7852ad94ac8b2765c5a2e3fffda120a5189393fd /net/bluetooth
parent1afd5be87e30997a5623260d9177ed62cf88adbe (diff)
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>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/l2cap_core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 3daac2c6b7b4..953ac53ae438 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)
945 945
946 chan->state = BT_CONNECTED; 946 chan->state = BT_CONNECTED;
947 947
948 if (chan->ops->ready) 948 chan->ops->ready(chan);
949 chan->ops->ready(chan);
950} 949}
951 950
952static void l2cap_do_start(struct l2cap_chan *chan) 951static void l2cap_do_start(struct l2cap_chan *chan)