crypto: shash - Remove superfluous check in init_tfm
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Jan 2009 02:34:48 +0000 (13:34 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 18 Feb 2009 08:48:05 +0000 (16:48 +0800)
commit1693531e9ef11959300617c68a8322ad006b5475
tree2cebdb86f8c22eb0363a320c100d66a178f29208
parent07bf44f86989f5ed866510374fe761d1903681fb
crypto: shash - Remove superfluous check in init_tfm

We're currently checking the frontend type in init_tfm.  This is
completely pointless because the fact that we're called at all
means that the frontend is ours so the type must match as well.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/shash.c