We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a132b78 commit 3ecf87bCopy full SHA for 3ecf87b
tools/perf/util/bpf_kwork_top.c
@@ -117,7 +117,7 @@ kwork_class_bpf_supported_list[KWORK_CLASS_MAX] = {
117
118
static bool valid_kwork_class_type(enum kwork_class_type type)
119
{
120
- return type >= 0 && type < KWORK_CLASS_MAX ? true : false;
+ return type >= 0 && type < KWORK_CLASS_MAX;
121
}
122
123
static int setup_filters(struct perf_kwork *kwork)
0 commit comments