From: Per Liden Date: Tue, 21 Mar 2006 06:37:27 +0000 (-0800) Subject: [TIPC]: Remove unused functions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7c501a5960a1bdf3b9eaef262916dc67107ff2b5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [TIPC]: Remove unused functions Signed-off-by: Per Liden Signed-off-by: David S. Miller --- diff --git a/net/tipc/link.c b/net/tipc/link.c index f638863b0d74..910b37e5083d 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -2539,11 +2539,6 @@ exit: * pending message. This makes dynamic memory allocation unecessary. */ -static u32 get_long_msg_seqno(struct sk_buff *buf) -{ - return msg_seqno(buf_msg(buf)); -} - static void set_long_msg_seqno(struct sk_buff *buf, u32 seqno) { msg_set_seqno(buf_msg(buf), seqno); diff --git a/net/tipc/port.c b/net/tipc/port.c index 4d3b7ccd2561..67e96cb1e825 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c @@ -82,11 +82,6 @@ static u32 port_out_seqno(struct port *p_ptr) return msg_transp_seqno(&p_ptr->publ.phdr); } -static void port_set_out_seqno(struct port *p_ptr, u32 seqno) -{ - msg_set_transp_seqno(&p_ptr->publ.phdr,seqno); -} - static void port_incr_out_seqno(struct port *p_ptr) { struct tipc_msg *m = &p_ptr->publ.phdr;