Re: Linux 3.1-rc9
From: Ingo Molnar
Date: Sun Oct 23 2011 - 07:36:00 EST
* Martin Schwidefsky <schwidefsky@xxxxxxxxxx> wrote:
> +#define cputime_zero ((__force cputime_t) 0ULL)
> +#define cputime64_zero ((__force cputime64_t) 0ULL)
Hm, why are these still needed?
This:
if (*newval == cputime_zero)
return;
Could be written as the much simpler:
if (!*newval)
return;
with no ill effect that i can see.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/