crypto: crypto4xx - remove double assignment of pd_uinfo->state
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 25 Aug 2017 13:47:18 +0000 (15:47 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Sep 2017 09:43:17 +0000 (17:43 +0800)
crypto4xx_put_pd_to_pdr() already clears the flag.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c

index 249d35ff3806ff5fd0c6309b9fd158ab93a15c1b..9e96af725b312391a97dfd77873083e5200deffc 100644 (file)
@@ -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;