From: Ying Xue Date: Wed, 26 Nov 2014 03:41:50 +0000 (+0800) Subject: tipc: remove unused between routine X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=99315ad43d92a8df0e4a30a0694336cdcdb7965f;p=linux-beck.git tipc: remove unused between routine Signed-off-by: Ying Xue Reviewed-by: Jon Maloy Signed-off-by: David S. Miller --- diff --git a/net/tipc/link.h b/net/tipc/link.h index 1681076cb339..771123413d5f 100644 --- 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;