diff options
author | wuchi <wuchi.zero@gmail.com> | 2022-09-01 02:31:21 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-12 06:55:12 +0200 |
commit | 35783ccbe519b33f6652b2d7aafcfc82f10b1a1b (patch) | |
tree | 4151d7f700814db069987529f6f13729a08197d7 /scripts | |
parent | ntfs: check overflow when iterating ATTR_RECORDs (diff) | |
download | linux-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