include: crypto: Remove duplicate assignment line

The crypto hash context has a reference to the crypto device,
but the assignment was duplicated.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2023-06-13 14:48:28 +02:00 committed by Anas Nashif
parent d5815d6ad1
commit 5cdbd59c67

View file

@ -388,7 +388,6 @@ static inline int hash_begin_session(const struct device *dev,
api = (struct crypto_driver_api *) dev->api;
ctx->device = dev;
ctx->device = dev;
flags = (ctx->flags & (CAP_INPLACE_OPS | CAP_SEPARATE_IO_BUFS));
__ASSERT(flags != 0U, "IO buffer type missing");