Re: [PATCH] linux-2.5.54_delay-cleanup_A0

Linus Torvalds (torvalds@transmeta.com)
Tue, 7 Jan 2003 19:29:00 -0800 (PST)


On 7 Jan 2003, john stultz wrote:
>
> if (timer)
> timer->delay(loops);

Why the "if (timer)"?

Wouldn't it be saner to initialize the timer to something that can at
least do estimated loops, and then just unconditionally do

timer->delay(..);

instead?

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/