crypto: nx - Remove unnecessary maxauthsize check
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 May 2015 07:11:07 +0000 (15:11 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2015 03:25:54 +0000 (11:25 +0800)
commit56fcf73a29007aa7bec2e3fc5da2962f3f72d610
tree23800ff545358358aac1e9ae47c78f4c10373e0d
parent6da9c2335e5f7124521a701e2a883b46e3d6a215
crypto: nx - Remove unnecessary maxauthsize check

The crypto layer already checks maxauthsize when setauthsize is
called.  So there is no need to check it again within setauthsize.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-aes-gcm.c