summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorwuchi <wuchi.zero@gmail.com>2022-09-01 02:31:21 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 06:55:12 +0200
commit35783ccbe519b33f6652b2d7aafcfc82f10b1a1b (patch)
tree4151d7f700814db069987529f6f13729a08197d7 /scripts
parentntfs: check overflow when iterating ATTR_RECORDs (diff)
downloadlinux-35783ccbe519b33f6652b2d7aafcfc82f10b1a1b.tar.xz
linux-35783ccbe519b33f6652b2d7aafcfc82f10b1a1b.zip
kernel/profile.c: simplify duplicated code in profile_setup()
The code to parse option string "schedule/sleep/kvm" of cmdline in function profile_setup is redundant, so simplify that. Link: https://lkml.kernel.org/r/20220901003121.53597-1-wuchi.zero@gmail.com Signed-off-by: wuchi <wuchi.zero@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foudation.org> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions