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

Commit 1babddbc authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Benjamin Herrenschmidt
Browse files

powerpc/spufs: Remove unused error path



Commit 45db9240 ("powerpc/spufs: Remove
double check for non-negative dentry") removed the only user of the
out_dput label, so remove it and the code following it.

Gets rid of this warning:

arch/powerpc/platforms/cell/spufs/inode.c: In function 'spufs_create':
arch/powerpc/platforms/cell/spufs/inode.c:647: warning: label 'out_dput' defined but not used

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent bcba0778
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -644,8 +644,6 @@ long spufs_create(struct nameidata *nd, unsigned int flags, mode_t mode,
		fsnotify_mkdir(nd->path.dentry->d_inode, dentry);
		fsnotify_mkdir(nd->path.dentry->d_inode, dentry);
	return ret;
	return ret;


out_dput:
	dput(dentry);
out_dir:
out_dir:
	mutex_unlock(&nd->path.dentry->d_inode->i_mutex);
	mutex_unlock(&nd->path.dentry->d_inode->i_mutex);
out:
out: