aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMateusz Nosek <[email protected]>2019-12-30 20:16:28 +0100
committerGreg Kroah-Hartman <[email protected]>2020-01-14 16:14:47 +0100
commit5bf33f04eb5c3e6c55988046c88a5986430c7b4a (patch)
tree56dfc88e627db107df6eb91f1930a9b8f8faa955 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentef9ffc1e5f1ac73ecd2fb3b70db2a3b2472ff2f7 (diff)
fs/kernfs/dir.c: Clean code by removing always true condition
Previously there was an additional check if variable pos is not null. However, this check happens after entering while loop and only then, which can happen only if pos is not null. Therefore the additional check is redundant and can be removed. Signed-off-by: Mateusz Nosek <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions