* [PATCH net-next] dccp: remove unused inline function dccp_set_seqno
@ 2020-04-24 13:13 YueHaibing
2020-04-26 3:43 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-04-24 13:13 UTC (permalink / raw)
To: gerrit, davem, kuba, tglx; +Cc: dccp, netdev, linux-kernel, YueHaibing
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>
---
net/dccp/dccp.h | 5 -----
1 file changed, 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);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] dccp: remove unused inline function dccp_set_seqno
2020-04-24 13:13 [PATCH net-next] dccp: remove unused inline function dccp_set_seqno YueHaibing
@ 2020-04-26 3:43 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-04-26 3:43 UTC (permalink / raw)
To: yuehaibing; +Cc: gerrit, kuba, tglx, dccp, netdev, linux-kernel
From: YueHaibing <yuehaibing@huawei.com>
Date: Fri, 24 Apr 2020 21:13:34 +0800
> 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>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-26 3:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 13:13 [PATCH net-next] dccp: remove unused inline function dccp_set_seqno YueHaibing
2020-04-26 3:43 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).