Skip to content
Commit 45db9240 authored by Jan Blunck's avatar Jan Blunck Committed by Benjamin Herrenschmidt
Browse files

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: default avatarJan Blunck <jblunck@suse.de>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 8d165db1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment