Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a502e108 authored by lionel.debieve@st.com's avatar lionel.debieve@st.com Committed by Herbert Xu
Browse files

crypto: stm32/hash - Remove uninitialized symbol



Remove err symbol as this is not used in the thread context
and the variable is not initialized.

Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 677c4f4c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1067,7 +1067,6 @@ static int stm32_hash_cra_sha256_init(struct crypto_tfm *tfm)
static irqreturn_t stm32_hash_irq_thread(int irq, void *dev_id)
{
	struct stm32_hash_dev *hdev = dev_id;
	int err;

	if (HASH_FLAGS_CPU & hdev->flags) {
		if (HASH_FLAGS_OUTPUT_READY & hdev->flags) {
@@ -1085,7 +1084,7 @@ static irqreturn_t stm32_hash_irq_thread(int irq, void *dev_id)

finish:
	/* Finish current request */
	stm32_hash_finish_req(hdev->req, err);
	stm32_hash_finish_req(hdev->req, 0);

	return IRQ_HANDLED;
}