Loading crypto/crypto_engine.c +3 −9 Original line number Diff line number Diff line Loading @@ -79,7 +79,6 @@ static void crypto_pump_requests(struct crypto_engine *engine, unsigned long flags; bool was_busy = false; int ret; struct crypto_engine_ctx *enginectx; spin_lock_irqsave(&engine->queue_lock, flags); Loading Loading @@ -154,15 +153,10 @@ static void crypto_pump_requests(struct crypto_engine *engine, struct crypto_engine_alg, base); op = &alg->op; } else { enginectx = crypto_tfm_ctx(async_req->tfm); op = &enginectx->op; if (!op->do_one_request) { dev_err(engine->dev, "failed to do request\n"); ret = -EINVAL; goto req_err_1; } } ret = op->do_one_request(engine, async_req); Loading include/crypto/engine.h +0 −4 Original line number Diff line number Diff line Loading @@ -26,10 +26,6 @@ struct crypto_engine_op { void *areq); }; struct crypto_engine_ctx { struct crypto_engine_op op; }; struct aead_engine_alg { struct aead_alg base; struct crypto_engine_op op; Loading Loading
crypto/crypto_engine.c +3 −9 Original line number Diff line number Diff line Loading @@ -79,7 +79,6 @@ static void crypto_pump_requests(struct crypto_engine *engine, unsigned long flags; bool was_busy = false; int ret; struct crypto_engine_ctx *enginectx; spin_lock_irqsave(&engine->queue_lock, flags); Loading Loading @@ -154,15 +153,10 @@ static void crypto_pump_requests(struct crypto_engine *engine, struct crypto_engine_alg, base); op = &alg->op; } else { enginectx = crypto_tfm_ctx(async_req->tfm); op = &enginectx->op; if (!op->do_one_request) { dev_err(engine->dev, "failed to do request\n"); ret = -EINVAL; goto req_err_1; } } ret = op->do_one_request(engine, async_req); Loading
include/crypto/engine.h +0 −4 Original line number Diff line number Diff line Loading @@ -26,10 +26,6 @@ struct crypto_engine_op { void *areq); }; struct crypto_engine_ctx { struct crypto_engine_op op; }; struct aead_engine_alg { struct aead_alg base; struct crypto_engine_op op; Loading