]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tracing: Change variable type as bool for clean-up
authorAustin Kim <austin.kim@lge.com>
Tue, 29 Jun 2021 14:05:48 +0000 (15:05 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 30 Jun 2021 13:19:14 +0000 (09:19 -0400)
commitbfbf8d157a8e85beca929f1959f567e03eb72c34
tree2bda4cffbf28fff189080769a97ee84e35a364ac
parent6a82f42a2e55d43bd99f1b457982be6c856c800d
tracing: Change variable type as bool for clean-up

The wakeup_rt wakeup_dl, tracing_dl is only set to 0, 1.
So changing type of wakeup_rt wakeup_dl, tracing_dl as bool
makes relevant routine be more readable.

Link: https://lkml.kernel.org/r/20210629140548.GA1627@raspberrypi
Signed-off-by: Austin Kim <austin.kim@lge.com>
[ Removed unneeded initialization of static bool tracing_dl ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_sched_wakeup.c