summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-04-24 16:13:34 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-26 06:42:57 +0300
commitdf346f1aac6cef551b69d788b022a942270dc17b (patch)
tree59954830a707c998c809ff082c7f3096c1259ac6 /net/dccp
parent163749ad8436b3206709172406d68869c40bc176 (diff)
downloadlinux-df346f1aac6cef551b69d788b022a942270dc17b.tar.xz
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>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/dccp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 9c3b27c257bb..7dce4f6c7025 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -108,11 +108,6 @@ extern int sysctl_dccp_sync_ratelimit;
#define ADD48(a, b) (((a) + (b)) & UINT48_MAX)
#define SUB48(a, b) ADD48((a), COMPLEMENT48(b))
-static inline void dccp_set_seqno(u64 *seqno, u64 value)
-{
- *seqno = value & UINT48_MAX;
-}
-
static inline void dccp_inc_seqno(u64 *seqno)
{
*seqno = ADD48(*seqno, 1);