Re: [PATCH V2] btrfs: Remove some dead code

2016-11-07 Thread David Sterba
On Fri, Nov 04, 2016 at 08:02:35AM +0100, Christophe JAILLET wrote: > 'btrfs_iget()' can not return NULL, so this test can be removed. > > Signed-off-by: Christophe JAILLET Patch replaced, I've edited the subject to be a bit more specific. -- To unsubscribe from this list: send the line "unsubsc

[PATCH V2] btrfs: Remove some dead code

2016-11-04 Thread Christophe JAILLET
'btrfs_iget()' can not return NULL, so this test can be removed. Signed-off-by: Christophe JAILLET --- V1 --> v2: fix the patch description --- fs/btrfs/free-space-cache.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index e4b48f3