Re: [PATCH] all-arch delay functions take 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/3/05, Denis Vlasenko <[email protected]> wrote:
> Hi folks,
> 
> This patch makes mdelay/udelay/ndelay calls as small
> as possible (just a function call), uses macros which
> do compile-time checks on delay duration if parameter
> is a constant, otherwise check is done at run time
> to prevent udelay(-1) disasters.
> 
[snip]

> 
> -#define ndelay(n)      udelay((n) * 5)
> +//BOGUS! #define ndelay(n)     udelay((n) * 5)
> 
If it's bogus, why not just remove it instead of leaving it in as a
comment (and a C++ style comment at that) ?

[snip]
> +//extern struct timer_opts* timer;

Why add this at all if you are just going to comment it out anyway?



-- 
Jesper Juhl <[email protected]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux