]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove redundant NULL check before kvfree
authorYang Li <abaci-bugfix@linux.alibaba.com>
Thu, 21 Jan 2021 08:19:47 +0000 (16:19 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 21:58:52 +0000 (22:58 +0100)
commit3f8ca7fdc6627edbe8498f44b6959290fca727e4
tree9025e18f08e20eda54134066ffa7dc8ee926c749
parentc6d466fcdb421edd2eb904ac9624466749792174
btrfs: remove redundant NULL check before kvfree

Fix below warnings reported by coccicheck:
./fs/btrfs/raid56.c:237:2-8: WARNING: NULL check before some freeing
functions is not needed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Yang Li <abaci-bugfix@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c