From: Johan Hedberg Date: Sat, 18 Jan 2014 19:32:59 +0000 (+0200) Subject: Bluetooth: Remove useless l2cap_seq_list_remove function X-Git-Tag: v3.15-rc1~113^2~159^2^2~130^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03a0c5d61c878e3196b80fa9dc9fbae0fb2eb8f8;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed