]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5044cb4bcae74341f2cee820e9ebf2f7758c1d5
treef0d5eb3931d5c990d23dabc39458248cbda6fbe2
parente23e1125001fff9e14a5dd4b0eda375195e60607
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