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

From: Peter Zijlstra
Date: Wed Nov 10 2010 - 14:10:54 EST


On Fri, 2010-10-29 at 08:28 +0200, Raistlin wrote:
> + if (unlikely(prio >= MAX_DL_PRIO && prio < MAX_RT_PRIO))

Since MAX_DL_PRIO is 0, you can write that as:
((unsigned)prio) < MAX_RT_PRIO


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