powerpc/spufs: Remove double check for non-negative dentry
authorJan Blunck <jblunck@suse.de>
Wed, 13 May 2009 05:58:56 +0000 (05:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 May 2009 05:44:25 +0000 (15:44 +1000)
commit45db9240890d9343c934db1fe82d6e68ac2d28da
treec9e3f0cbec4997df460842cf46029ac156eca3db
parent8d165db10772f238103c3e8f955c54145e5c07f3
powerpc/spufs: Remove double check for non-negative dentry

This patch removes an unnecessary double check if the dentry returned by
lookup_create() is actually non-negative. Since lookup_create() itself returns
an error in this case just remove the check.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/spufs/inode.c