commit | 5c9a702ed1724f1c856c7299fe1faf9b3b5b4eb0 | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Fri Dec 01 11:19:40 2017 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 16:08:15 2018 +0100 |
tree | 29ada08bb11ed4d199b474dd448a4ee1b1dcc266 | |
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>