crypto: skcipher - remove redundant NULL check

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Davidlohr Bueso 2011-01-29 15:09:43 +11:00 committed by Herbert Xu
parent 5efb94ee14
commit 33c7c0fb20

View File

@ -141,8 +141,7 @@ err:
if (walk->iv != req->info)
memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize);
if (walk->iv_buffer)
kfree(walk->iv_buffer);
kfree(walk->iv_buffer);
return err;
}