From: Christian Lamparter Date: Fri, 25 Aug 2017 13:47:18 +0000 (+0200) Subject: crypto: crypto4xx - remove double assignment of pd_uinfo->state X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c587e65deacf8c86de2d7c51f1e81d0a4a9147a8;p=linux.git crypto: crypto4xx - remove double assignment of pd_uinfo->state crypto4xx_put_pd_to_pdr() already clears the flag. Signed-off-by: Christian Lamparter Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index 249d35ff3806f..9e96af725b312 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -1079,7 +1079,6 @@ static void crypto4xx_bh_tasklet_cb(unsigned long data) pd->pd_ctl.bf.pe_done = 0; crypto4xx_pd_done(core_dev->dev, tail); crypto4xx_put_pd_to_pdr(core_dev->dev, tail); - pd_uinfo->state = PD_ENTRY_FREE; } else { /* if tail not done, break */ break;