Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dccp: remove unused inline function dccp_set_seqno

There's no callers in-tree since commit 792b48780e8b ("dccp: Implement
both feature-local and feature-remote Sequence Window feature")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

YueHaibing and committed by
David S. Miller
df346f1a 163749ad

-5
-5
net/dccp/dccp.h
··· 108 108 #define ADD48(a, b) (((a) + (b)) & UINT48_MAX) 109 109 #define SUB48(a, b) ADD48((a), COMPLEMENT48(b)) 110 110 111 - static inline void dccp_set_seqno(u64 *seqno, u64 value) 112 - { 113 - *seqno = value & UINT48_MAX; 114 - } 115 - 116 111 static inline void dccp_inc_seqno(u64 *seqno) 117 112 { 118 113 *seqno = ADD48(*seqno, 1);