diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2011-05-26 23:26:00 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-27 00:12:37 (GMT) |
commit | 6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423 (patch) | |
tree | a6a5c66d200e112cc629b392eafbaa026e1c57bf /drivers/w1/w1_io.c | |
parent | d98808a253f209465ed9f415c565f4c294a213b8 (diff) | |
download | linux-fsl-qoriq-6f7bd76f05eb2bfbb48d58c0408a50a7e16b2423.tar.xz |
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 <rakib.mullick@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/w1/w1_io.c')
0 files changed, 0 insertions, 0 deletions