Re: [PATCH 03/16] sched: SCHED_DEADLINE data structures.

From: Juri Lelli
Date: Mon Apr 23 2012 - 05:28:42 EST


On 04/23/2012 11:13 AM, Peter Zijlstra wrote:
On Fri, 2012-04-06 at 09:14 +0200, Juri Lelli wrote:
+ if (unlikely(prio>= MAX_DL_PRIO&& prio< MAX_RT_PRIO))

You could write that as:

if ((unsigned)prio< MAX_RT_PRIO)


Right, I'll do :-).

Thanks,

- Juri
--
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/