Remove err symbol as this is not used in the thread context
and the variable is not initialized.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
 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) {
        return IRQ_HANDLED;
 
 finish:
-       /*Finish current request */
-       stm32_hash_finish_req(hdev->req, err);
+       /* Finish current request */
+       stm32_hash_finish_req(hdev->req, 0);
 
        return IRQ_HANDLED;
 }