btrfs: assume valid token for btrfs_set/get_token helpers
authorDavid Sterba <dsterba@suse.com>
Fri, 9 Aug 2019 15:30:23 +0000 (17:30 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:16 +0000 (14:59 +0200)
commit48bc39501a549ec978c8aad28eb89ca3a2a7ca03
tree14e0cacf281cc9f1164db829b42fa22ab6348a78
parentcb49511328dcce73840a54661622950d7fa6384e
btrfs: assume valid token for btrfs_set/get_token helpers

Now that we can safely assume that the token is always a valid pointer,
remove the branches that check that.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/struct-funcs.c