[PATCH 8/8] tracing/function: Convert func_set_flag() to a switch statement

2012-07-09 Thread Anton Vorontsov
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: Steven Rostedt Signed-off-by: Anton Vorontsov --- kernel/trace/trace_functions.c | 15 +-- 1 file

[PATCH 8/8] tracing/function: Convert func_set_flag() to a switch statement

2012-07-09 Thread Anton Vorontsov
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: Steven Rostedt rost...@goodmis.org Signed-off-by: Anton Vorontsov anton.voront...@linaro.org ---