Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: ccp - Remove unused structure field

Remove the length field from the ccp_sg_workarea since it is unused.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Tom Lendacky and committed by
Herbert Xu
d7253322 d921620e

-2
-2
drivers/crypto/ccp/ccp-ops.c
··· 53 53 struct ccp_sg_workarea { 54 54 struct scatterlist *sg; 55 55 unsigned int nents; 56 - unsigned int length; 57 56 58 57 struct scatterlist *dma_sg; 59 58 struct device *dma_dev; ··· 496 497 return 0; 497 498 498 499 wa->nents = sg_nents(sg); 499 - wa->length = sg->length; 500 500 wa->bytes_left = len; 501 501 wa->sg_used = 0; 502 502