]> git.baikalelectronics.ru Git - kernel.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)
commit7232c7926ccd0c5d3123315a13359d76955f668b
tree2bda4cffbf28fff189080769a97ee84e35a364ac
parent8bafed2ed9c0d24a5668757a0e4e1e13ac4b5e69
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