From: Gustavo F. Padovan Date: Mon, 30 Aug 2010 21:44:44 +0000 (-0300) Subject: Bluetooth: Simplify L2CAP Streaming mode sending X-Git-Tag: v2.6.36-rc8~17^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccbb84af28594e19fd4bf27ff2828c80d03b6081;p=pandora-kernel.git Bluetooth: Simplify L2CAP Streaming mode sending As we don't have any error control on the Streaming mode, i.e., we don't need to keep a copy of the skb for later resending we don't need to call skb_clone() on it. Then we can go one further here, and dequeue the skb before sending it, that also means we don't need to look to sk->sk_send_head anymore. The patch saves memory and time when sending Streaming mode data, so it is good to mainline. Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed