]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ftrace: Use LIST_HEAD to initialize clear_hash
authorRuan Jinjie <ruanjinjie@huawei.com>
Wed, 9 Aug 2023 07:15:51 +0000 (15:15 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 2 Sep 2023 01:18:38 +0000 (21:18 -0400)
commit2a30dbcbef96f4073d3a5f8708865b1aab0bfc6d
tree6ff833773497ab9cf6f52bca9cf489caf8d9651c
parent13511489046a60f76a9f9fef1335837b28d325e4
ftrace: Use LIST_HEAD to initialize clear_hash

Use LIST_HEAD() to initialize clear_hash instead of open-coding it.

Link: https://lore.kernel.org/linux-trace-kernel/20230809071551.913041-1-ruanjinjie@huawei.com
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ftrace.c