projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58311d1
)
tipc: remove unused between routine
author
Ying Xue
<ying.xue@windriver.com>
Wed, 26 Nov 2014 03:41:50 +0000
(11:41 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Nov 2014 17:30:17 +0000
(12:30 -0500)
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.h
patch
|
blob
|
blame
|
history
diff --git
a/net/tipc/link.h
b/net/tipc/link.h
index 1681076cb3396055009e7f5f7b6ab7aba57ec3ff..771123413d5f629a6b0aa52a366c668f91221840 100644
(file)
--- a/
net/tipc/link.h
+++ b/
net/tipc/link.h
@@
-253,15
+253,6
@@
static inline u32 mod(u32 x)
return x & 0xffffu;
}
-static inline int between(u32 lower, u32 upper, u32 n)
-{
- if ((lower < n) && (n < upper))
- return 1;
- if ((upper < lower) && ((n > lower) || (n < upper)))
- return 1;
- return 0;
-}
-
static inline int less_eq(u32 left, u32 right)
{
return mod(right - left) < 32768u;