aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorOleg Drokin <[email protected]>2016-02-16 00:46:46 -0500
committerGreg Kroah-Hartman <[email protected]>2016-02-20 14:33:11 -0800
commit6e16818b2438f5cb36500e2df26e9e1d11849cbe (patch)
treeb36d14a77fa2111285e7015ff10e535c2734dc47 /tools/perf/scripts/python/event_analyzing_sample.py
parent00697c43620734c7bd6e28d8bc4ffdfb2e07c99d (diff)
staging/lustre/llite: Adjust NULL comparison codestyle
All instances of "x == NULL" are changed to "!x" and "x != NULL" to "x" The only exception is ll_update_inode where dropping != NULL in the construction below would break the logic. I guess we could change lsm != NULL to !!lsm, but that's uglier. (lsm != NULL) == ((body->valid & OBD_MD_FLEASIZE) != 0) Also removed some redundant assertions. Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions