tracing/function: Convert func_set_flag() to a switch statement
Since the function accepts just one bit, we can use the switch construction instead of if/else if/... Just a cosmetic change, there should be no functional changes. Suggested-by: NSteven Rostedt <rostedt@goodmis.org> Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org> Acked-by: NSteven Rostedt <rostedt@goodmis.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录