crypto: chelsio - Fix flexible struct array warning
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 29 Nov 2022 09:52:35 +0000 (17:52 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Dec 2022 10:45:00 +0000 (18:45 +0800)
commit3564f5a2144355cadb4f0c5c14d2bc7fcd2418b9
treea1fd1d8919bdd04691bc99663e2fefeae2afcc52
parent3112d0f1b0b32daac97d170dbc9d3cce69f7ff49
crypto: chelsio - Fix flexible struct array warning

This patch fixes the sparse warning about arrays of flexible
structures by removing an unnecessary use of them in struct
__crypto_ctx.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_crypto.h