diff options
| author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-06-02 14:00:51 -0400 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-09 02:47:41 -0400 |
| commit | 1babddbc2e83ab98fc4dd0a3e9bd7b2d30be7e32 (patch) | |
| tree | 7ac88e4153c4ca2ce594757fbd81ef55535beba1 | |
| parent | bcba0778ee9c5e6b76420c427e5c2cf3a21dbeba (diff) | |
powerpc/spufs: Remove unused error path
Commit 45db9240890d9343c934db1fe82d6e68ac2d28da ("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: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
| -rw-r--r-- | arch/powerpc/platforms/cell/spufs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index 36b67006d6ba..24b30b6909c4 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c | |||
| @@ -644,8 +644,6 @@ long spufs_create(struct nameidata *nd, unsigned int flags, mode_t mode, | |||
| 644 | fsnotify_mkdir(nd->path.dentry->d_inode, dentry); | 644 | fsnotify_mkdir(nd->path.dentry->d_inode, dentry); |
| 645 | return ret; | 645 | return ret; |
| 646 | 646 | ||
| 647 | out_dput: | ||
| 648 | dput(dentry); | ||
| 649 | out_dir: | 647 | out_dir: |
| 650 | mutex_unlock(&nd->path.dentry->d_inode->i_mutex); | 648 | mutex_unlock(&nd->path.dentry->d_inode->i_mutex); |
| 651 | out: | 649 | out: |
