aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRusty Russell <[email protected]>2016-04-12 05:03:09 +0930
committerRusty Russell <[email protected]>2016-07-27 12:38:00 +0930
commitc75b590d60ffa3e31bcb9608b68006a8bab9e0ed (patch)
tree7e67e27d736823cf0dfda9cd777ea1db569bf974 /tools/perf/scripts/python
parentbf262dcec6383188a3324192c4a7e405b3b1ad23 (diff)
module: fix redundant test.
[linux-4.5-rc4/kernel/module.c:1692]: (style) Redundant condition: attr.test. '!attr.test || (attr.test && attr.test(mod))' is equivalent to '!attr.test || attr.test(mod)' This code was added like this ten years ago, in c988d2b284549 "modules: add version and srcversion to sysfs". Reported-by: David Binderman <[email protected]> Cc: Matt Domsch <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions