Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33c7c0fb authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Herbert Xu
Browse files

crypto: skcipher - remove redundant NULL check

parent 5efb94ee
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -141,7 +141,6 @@ err:


	if (walk->iv != req->info)
	if (walk->iv != req->info)
		memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize);
		memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize);
	if (walk->iv_buffer)
	kfree(walk->iv_buffer);
	kfree(walk->iv_buffer);


	return err;
	return err;