Re: [PATCH 1/1] Btrfs: Remove redundant NULL check before kfree

2015-06-23 Thread David Sterba
On Tue, Jun 23, 2015 at 11:28:00AM +0530, Maninder Singh wrote: > There is no need of NULL check before kfree, > removing the same > > Signed-off-by: Maninder Singh > Reviewed-by: Akhilesh Kumar Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

[PATCH 1/1] Btrfs: Remove redundant NULL check before kfree

2015-06-22 Thread Maninder Singh
There is no need of NULL check before kfree, removing the same Signed-off-by: Maninder Singh Reviewed-by: Akhilesh Kumar --- fs/btrfs/free-space-cache.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 9