From: Dan Carpenter Date: Mon, 3 May 2010 03:08:15 +0000 (+0800) Subject: crypto: algapi - Remove unneeded null check X-Git-Tag: v2.6.35-rc1~446^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c614e109c184edd7900d9ff4d6de9ef94bc4d85b;p=pandora-kernel.git crypto: algapi - Remove unneeded null check We don't check "frontend" consistently in crypto_init_spawn2(). We check it at the start of the function but then we dereference it unconditionally in the parameter list when we call crypto_init_spawn(). I looked at the places that call crypto_init_spawn2() and "frontend" is always a valid pointer so I removed the check for null. Signed-off-by: Dan Carpenter Signed-off-by: Herbert Xu --- Reading git-diff-tree failed