diff options
| author | Ian Kent <[email protected]> | 2019-11-04 13:58:44 -0800 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2019-11-05 08:28:26 -0800 |
| commit | 846410ccd104c7294d18e61c665bf7c0c7e6d7d1 (patch) | |
| tree | 4c4cead6cec2c7dc93d91a96a14426e36907d2bf /tools/perf/scripts/python/stackcollapse.py | |
| parent | c0a6791667f81d9b12443f7ed1c7b4602be9e3c9 (diff) | |
xfs: avoid redundant checks when options is empty
When options passed to xfs_parseargs() is NULL the checks performed
after taking the branch are made with the initial values of dsunit,
dswidth and iosizelog. But all the checks do nothing in this case
so return immediately instead.
Signed-off-by: Ian Kent <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions