aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2020-01-06 20:32:08 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-01-16 15:18:13 +0800
commit4b0ec91af8a4ab11b0d68ede92ed810d131b815e (patch)
treea4d7144baf4cc8606200b01995c76e9fb1d55500 /drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
parentcrypto: sun8i-ce - fix removal of module (diff)
downloadwireguard-linux-4b0ec91af8a4ab11b0d68ede92ed810d131b815e.tar.xz
wireguard-linux-4b0ec91af8a4ab11b0d68ede92ed810d131b815e.zip
crypto: sun8i-ce - remove dead code
Some code were left in the final driver but without any use. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
index 43db49ceafe4..8f8404c84a4d 100644
--- a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
+++ b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
@@ -131,12 +131,8 @@ struct ce_task {
* @engine: ptr to the crypto_engine for this flow
* @bounce_iv: buffer which contain the IV
* @ivlen: size of bounce_iv
- * @keylen: keylen for this flow operation
* @complete: completion for the current task on this flow
* @status: set to 1 by interrupt if task is done
- * @method: current method for flow
- * @op_dir: direction (encrypt vs decrypt) of this flow
- * @op_mode: op_mode for this flow
* @t_phy: Physical address of task
* @tl: pointer to the current ce_task for this flow
* @stat_req: number of request done by this flow
@@ -145,12 +141,8 @@ struct sun8i_ce_flow {
struct crypto_engine *engine;
void *bounce_iv;
unsigned int ivlen;
- unsigned int keylen;
struct completion complete;
int status;
- u32 method;
- u32 op_dir;
- u32 op_mode;
dma_addr_t t_phy;
int timeout;
struct ce_task *tl;