diff options
author | 2017-12-01 11:19:40 +0200 | |
---|---|---|
committer | 2018-01-22 16:08:15 +0100 | |
commit | 5c9a702ed1724f1c856c7299fe1faf9b3b5b4eb0 (patch) | |
tree | 29ada08bb11ed4d199b474dd448a4ee1b1dcc266 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | btrfs: tree-checker: use %zu format string for size_t (diff) | |
download | linux-dev-5c9a702ed1724f1c856c7299fe1faf9b3b5b4eb0.tar.xz linux-dev-5c9a702ed1724f1c856c7299fe1faf9b3b5b4eb0.zip |
btrfs: Remove unused variable in btrfs_get_extent
trans was statically assigned to NULL and this never changed over the
course of btrfs_get_extent. So remove any code which checks whether
trans != NULL and just hardcode the fact trans is always NULL.
Resolves-coverity-id: 112806
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions