]> err.no Git - linux-2.6/commit
sched: fix warning in inc_rt_tasks() to not declare variable 'rq' if it's not needed
authorDavid Howells <dhowells@redhat.com>
Fri, 11 Jul 2008 12:34:54 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 11:56:03 +0000 (13:56 +0200)
commit577b4a58d2e74a4d48050eeea3e3f952ce04eb86
treed980050094b9903115811159b190c464a399978b
parent13b40c1e40f3261e83ee514a08b77dbecb93021b
sched: fix warning in inc_rt_tasks() to not declare variable 'rq' if it's not needed

Fix inc_rt_tasks() to not declare variable 'rq' if it's not needed.  It is
declared if CONFIG_SMP or CONFIG_RT_GROUP_SCHED, but only used if CONFIG_SMP.

This is a consequence of patch 1f11eb6a8bc92536d9e93ead48fa3ffbd1478571 plus
patch 1100ac91b6af02d8639d518fad5b434b1bf44ed6.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_rt.c