summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-10-22 18:03:03 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2021-10-28 10:45:32 +0300
commitc15016b7ae1caf77f80ae87a71745368ef651ba6 (patch)
treeff685aea1feecd1846e292d59cb66e9559a5bedf /tools/perf/scripts/python/exported-sql-viewer.py
parent20235b435a5c8897e46d094454408b6ab7157dbd (diff)
downloadlinux-c15016b7ae1caf77f80ae87a71745368ef651ba6.tar.xz
fuse: simplify local variables holding writeback cache state
There are two instances of "bool is_wb = fc->writeback_cache" where the actual use mostly involves checking "is_wb && S_ISREG(inode->i_mode)". Clean up these cases by storing the second condition in the local variable. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions