Skip to content

Commit

Permalink
tipc: remove unused between routine
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ying Xue authored and David S. Miller committed Nov 26, 2014
1 parent 58311d1 commit 99315ad
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions net/tipc/link.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 99315ad

Please sign in to comment.