| Subject | Re: [RFC][PATCH 03/22] sched: SCHED_DEADLINE data structures. | From | Steven Rostedt <> | Date | Fri, 12 Nov 2010 12:11:19 -0500 |
| |
On Wed, 2010-11-10 at 20:10 +0100, Peter Zijlstra wrote: > 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
Does this make a difference? If not, I rather leave it out since it just makes it less readable, and a bit confusing for reviewers.
-- Steve
|