diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-12-01 11:19:40 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:15 +0100 |
commit | 5c9a702ed1724f1c856c7299fe1faf9b3b5b4eb0 (patch) | |
tree | 29ada08bb11ed4d199b474dd448a4ee1b1dcc266 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 7cfad65297bfe0aa2996cd72d21c898aa84436d9 (diff) |
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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions