Commit 944a4515 authored by Daeseok Youn's avatar Daeseok Youn Committed by Chris Mason
Browse files

btrfs: remove redundant null check in btrfs_dentry_release()



It doesn't need to check NULL for kfree()

Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent ef3b9af5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5168,7 +5168,6 @@ static int btrfs_dentry_delete(const struct dentry *dentry)

static void btrfs_dentry_release(struct dentry *dentry)
{
	if (dentry->d_fsdata)
	kfree(dentry->d_fsdata);
}