Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Move is_out_of_time() to main.c for general use

Marek Lindner
2011-12-03T15:46:51Z

On Saturday, December 03, 2011 23:41:38 Martin Hundebøll wrote:
> On 2011-12-03 08:36, Marek Lindner wrote:
> > Since it is a simple one-liner you could make it a define or at least
> > static inline (in main.h).
>
> Correct. Maybe the correct solution is to remove the function and just call
> time_is_before_jiffies() directly instead?

Guess you misread me. I like the idea of having this easy to read wrapper.
Before you moved it to main.c it was a static function. The compiler could
better optimize it.

Cheers,
Marek