mirror of https://gitee.com/openkylin/linux.git
[TIPC]: Remove unused functions
Signed-off-by: Per Liden <per.liden@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
05790c6456
commit
7c501a5960
|
@ -2539,11 +2539,6 @@ int tipc_link_send_long_buf(struct link *l_ptr, struct sk_buff *buf)
|
|||
* 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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue