From: David Howells Date: Fri, 11 Jul 2008 12:34:54 +0000 (+0100) Subject: sched: fix warning in inc_rt_tasks() to not declare variable 'rq' if it's not needed X-Git-Tag: v2.6.27-rc1~515^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=577b4a58d2e74a4d48050eeea3e3f952ce04eb86;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed