projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2d546
)
dccp: remove max48()
author
Jakub Kicinski
<kuba@kernel.org>
Wed, 26 Jan 2022 19:11:03 +0000
(11:11 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 27 Jan 2022 13:53:27 +0000
(13:53 +0000)
Not used since v2.6.37.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/dccp.h
patch
|
blob
|
blame
|
history
diff --git
a/net/dccp/dccp.h
b/net/dccp/dccp.h
index 5183e627468d8901f4f80ed8d74a655aa2a6557f..671c377f08896b5686b2b54186c1af7a933be6e1 100644
(file)
--- a/
net/dccp/dccp.h
+++ b/
net/dccp/dccp.h
@@
-136,11
+136,6
@@
static inline int between48(const u64 seq1, const u64 seq2, const u64 seq3)
return (seq3 << 16) - (seq2 << 16) >= (seq1 << 16) - (seq2 << 16);
}
-static inline u64 max48(const u64 seq1, const u64 seq2)
-{
- return after48(seq1, seq2) ? seq1 : seq2;
-}
-
/**
* dccp_loss_count - Approximate the number of lost data packets in a burst loss
* @s1: last known sequence number before the loss ('hole')