aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorShawn Bohrer <[email protected]>2013-10-04 14:24:53 -0500
committerIngo Molnar <[email protected]>2013-10-06 11:28:40 +0200
commit6bfa687c19b7ab8adee03f0d43c197c2945dd869 (patch)
treefdbcfe3a969c935f5c69c868afa6cdca8d514cdf /net/lapb/lapb_iface.c
parentfb869b6e91a3ac235f237f73305ecf34cdc4969b (diff)
sched/rt: Remove redundant nr_cpus_allowed test
In 76854c7e8f3f4172fef091e78d88b3b751463ac6 ("sched: Use rt.nr_cpus_allowed to recover select_task_rq() cycles") an optimization was added to select_task_rq_rt() that immediately returns when p->nr_cpus_allowed == 1 at the beginning of the function. This makes the latter p->nr_cpus_allowed > 1 check redundant, which can now be removed. Signed-off-by: Shawn Bohrer <[email protected]> Reviewed-by: Steven Rostedt <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: [email protected] Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions