projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1afd5be
)
Bluetooth: Do not check func ready existence
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Wed, 30 May 2012 06:55:32 +0000
(09:55 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:14 +0000
(06:34 +0300)
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>
net/bluetooth/l2cap_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index 3daac2c6b7b4771d8626964a04f3e448e9f61909..953ac53ae4386d5d2e64edc2166d9fb428dbc0de 100644
(file)
--- 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)