]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Remove some redundant code
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Fri, 16 Sep 2016 21:05:35 +0000 (23:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2016 05:34:01 +0000 (01:34 -0400)
commitc1d0e2bf10c18876bdf4fe3c0a3c3296c40c103d
treeabee5fd4bde082316572a20fd09467050451e7bf
parentf72e0168681120d3aa8846264b96f3893c571fc9
sctp: Remove some redundant code

In commit cf75dd040906 ("sctp: simplify sk_receive_queue locking"), a call
to 'skb_queue_splice_tail_init()' has been made explicit. Previously it was
hidden in 'sctp_skb_list_tail()'

Now, the code around it looks redundant. The '_init()' part of
'skb_queue_splice_tail_init()' should already do the same.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ulpqueue.c