diff options
author | wuchi <wuchi.zero@gmail.com> | 2022-09-01 03:31:21 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-12 07:55:12 +0300 |
commit | 35783ccbe519b33f6652b2d7aafcfc82f10b1a1b (patch) | |
tree | 4151d7f700814db069987529f6f13729a08197d7 /include/asm-generic | |
parent | 63095f4f3af59322bea984a6ae44337439348fe0 (diff) | |
download | linux-35783ccbe519b33f6652b2d7aafcfc82f10b1a1b.tar.xz |
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 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions