summaryrefslogtreecommitdiff
path: root/net/bluetooth/a2mp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-01-18 23:32:59 +0400
committerJohan Hedberg <johan.hedberg@intel.com>2014-02-13 11:51:36 +0400
commit03a0c5d61c878e3196b80fa9dc9fbae0fb2eb8f8 (patch)
tree2366c38c17f212b5be16a040acfcce9655a1b48d /net/bluetooth/a2mp.c
parent61a939c68ee033d43be3aa436d95eb8afdd16142 (diff)
downloadlinux-03a0c5d61c878e3196b80fa9dc9fbae0fb2eb8f8.tar.xz
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>
Diffstat (limited to 'net/bluetooth/a2mp.c')
0 files changed, 0 insertions, 0 deletions