Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6effcab4 authored by Al Viro's avatar Al Viro
Browse files

infiniband: don't bother with d_delete()



Dentries are never retained there; d_delete() + dput() is no
different from d_drop() + dput().

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 29dfeb0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -493,7 +493,7 @@ static int remove_device_files(struct super_block *sb,
	remove_file(dir, "flash");
	inode_unlock(d_inode(dir));
	ret = simple_rmdir(d_inode(root), dir);
	d_delete(dir);
	d_drop(dir);
	dput(dir);

bail: