From: Rakib Mullick Date: Thu, 26 May 2011 23:26:00 +0000 (-0700) Subject: kernel/profile.c: remove some duplicate code from profile_hits() X-Git-Tag: v3.0-rc1~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423;p=pandora-kernel.git kernel/profile.c: remove some duplicate code from profile_hits() profile_hits() has a common check for prof_on and prof_buffer regardless of SMP or !SMP. So, remove some duplicate code by splitting profile_hits into two. [akpm@linux-foundation.org: make do_profile_hits static] Signed-off-by: Rakib Mullick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed