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>
This commit is contained in:
Johan Hedberg
2014-08-11 22:06:41 +03:00
committed by Marcel Holtmann
parent b68fda6848
commit 276d807317
2 changed files with 1 additions and 18 deletions
-1
View File
@@ -638,7 +638,6 @@ struct l2cap_conn {
__u8 disc_reason;
struct delayed_work security_timer;
struct l2cap_chan *smp;
struct list_head chan_l;