]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unused l2cap_conn->security_timer
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 11 Aug 2014 19:06:41 +0000 (22:06 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:24 +0000 (08:49 +0200)
commit0f424b1785691c29157f9dca78c86c5124501974
tree719ae8337895f40404e3f01a0823c3b89dd678e5
parent1ad3a6c452d54876badaf1d6d438e6d02542e074
Bluetooth: Remove unused l2cap_conn->security_timer

Now that there are no-longer any users for l2cap_conn->security_timer we
can go ahead and simply remove it. The patch makes initialization of the
conn->info_timer unconditional since it's better not to leave any
l2cap_conn data structures uninitialized no matter what the underlying
transport.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c