commit | 03a0c5d61c878e3196b80fa9dc9fbae0fb2eb8f8 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Sat Jan 18 21:32:59 2014 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Feb 13 09:51:36 2014 +0200 |
tree | 2366c38c17f212b5be16a040acfcce9655a1b48d | |
parent | 61a939c68ee033d43be3aa436d95eb8afdd16142 [diff] |
Bluetooth: Remove useless l2cap_seq_list_remove function The only user of l2cap_seq_list_remove() was l2cap_seq_list_pop() which only removes the head, meaning only the "else if (seq_list->head == seq)" branch was ever being used. This patch moves the code from this branch straight into l2cap_seq_list_pop() and removes the (now useless) l2cap_seq_list_remove(). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>