]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove the unused sctp_datamsg_free()
authorXin Long <lucien.xin@gmail.com>
Mon, 15 Feb 2016 06:28:05 +0000 (14:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 20:41:54 +0000 (15:41 -0500)
commitf05e5943fde1e570656dd0475c4f883f015ae273
tree3296c8c8aa3a0f09f11df7f55afd34f330f289e1
parent61f830c5b78e11cfd3caa8d54a1180f25986a5c8
sctp: remove the unused sctp_datamsg_free()

Since commit 51386cdc898c ("sctp: only drop the reference on the datamsg
after sending a msg") used sctp_datamsg_put in sctp_sendmsg, instead of
sctp_datamsg_free, this function has no use in sctp.

So we will remove it.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/chunk.c