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)
commit276d807317dead63ef2f13aa46e3c17d57ba0713
tree719ae8337895f40404e3f01a0823c3b89dd678e5
parentb68fda6848ebef3499905500971d40b84faa8319
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