From: Michael Wang Date: Wed, 19 Sep 2012 05:42:23 +0000 (+0800) Subject: x86: Remove the useless branch in c_start() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~89^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec08a837fda146fee498ffc5ecd0d2eeeacd025;p=pandora-kernel.git x86: Remove the useless branch in c_start() Since 'cpu == -1' in cpumask_next() is legal, no need to handle '*pos == 0' specially. About the comments: /* just in case, cpu 0 is not the first */ A test with a cpumask in which cpu 0 is not the first has been done, and it works well. This patch will remove that useless branch to clean the code. Signed-off-by: Michael Wang Cc: kjwinchester@gmail.com Cc: borislav.petkov@amd.com Cc: ak@linux.intel.com Link: http://lkml.kernel.org/r/1348033343-23658-1-git-send-email-wangyun@linux.vnet.ibm.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed