aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2014-01-23 15:54:47 -0800
committerLinus Torvalds <[email protected]>2014-01-23 16:36:58 -0800
commit189248d8f4f3ac2fba30da9b40133b5891df95fc (patch)
tree8c1f512c32463c29de4792b17a30822555cdbc76 /tools/perf/scripts/python/netdev-times.py
parentc76f4cb3d25e5dc84017d7e845072e9aef6037f4 (diff)
checkpatch: check for if's with unnecessary parentheses
If statements don't need multiple parentheses around tested comparisons like "if ((foo == bar))". An == comparison maybe a sign of an intended assignment, so emit a slightly different message if so. Signed-off-by: Joe Perches <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Cc: Manfred Spraul <[email protected]> Cc: Andy Whitcroft <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions