aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorXiaomeng Tong <[email protected]>2022-04-05 08:40:55 +0800
committerMartin K. Petersen <[email protected]>2022-04-26 08:37:35 -0400
commit505420bd5543e806288a47ae3d2abeec8fc9642a (patch)
treec6fc07910265a82313adac7d304061e125a4dd43 /tools/perf/scripts/python/event_analyzing_sample.py
parent8ad8edd2fbaedbd4761c14319df26db2b556376e (diff)
scsi: qedf: Remove an unneeded NULL check on list iterator
The list iterator 'fcport' is always non-NULL so it doesn't need to be checked. Thus just remove the unnecessary NULL check. Also remove the unnecessary initializer because the list iterator is always initialized. And adjust the position of blank lines. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xiaomeng Tong <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions