btrfs: drop null testing before destroy functions
authorKinglong Mee <kinglongmee@gmail.com>
Fri, 29 Jan 2016 13:36:35 +0000 (21:36 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 18 Feb 2016 10:46:03 +0000 (11:46 +0100)
commit5598e9005a4076d6700bbd89d0cdbe5b2922a846
treef0d5eb3931d5c990d23dabc39458248cbda6fbe2
parent89771cc98c5a4e8666e479dde171ffb52c6fa774
btrfs: drop null testing before destroy functions

Cleanup.

kmem_cache_destroy has support NULL argument checking,
so drop the double null testing before calling it.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c
fs/btrfs/delayed-inode.c
fs/btrfs/delayed-ref.c
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_map.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ordered-data.c