From: Jan Blunck Date: Wed, 13 May 2009 05:58:56 +0000 (+0000) Subject: powerpc/spufs: Remove double check for non-negative dentry X-Git-Tag: v2.6.31-rc1~331^2~36 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=45db9240890d9343c934db1fe82d6e68ac2d28da 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 Signed-off-by: Arnd Bergmann Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed