btrfs: remove redundant check of btrfs_iget return value
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 1 Nov 2016 10:26:06 +0000 (11:26 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Nov 2016 12:45:18 +0000 (13:45 +0100)
commit4d5106a126f33395126e042ae42582832bfc39f7
treebdcb2757bb9235e446624fb657c26166cee9eb74
parent0b5e3dafb60229dd7225e81023af5d2ddfb6a4b7
btrfs: remove redundant check of btrfs_iget return value

'btrfs_iget()' can not return NULL, so this test can be removed.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c