lkml.org 
[lkml]   [2006]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Provide an interface for getting the current tick length
Linus Torvalds writes:

> And while at it, please make it much more readable by writing it as
>
> time_adjust_step = time_adjust;
> if (time_adjust_step) {
> ..
>
> which is even less to type (no "!= 0", no extra parenthesis, just a
> ";<nl><tab>", and you've saved a whopping three bytes of source code while

... you've forgotten that now I've had to type "time_adjust_step"
twice. :P Anyway, I don't mind changing it, if you think it's worth
pulling that little bit of code out into its own function.

Paul.
-
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/

\
 
 \ /
  Last update: 2006-02-16 04:45    [W:0.946 / U:1.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site