crypto: crypto4xx - remove double assignment of pd_uinfo->state
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>
This commit is contained in:
parent
886c251fd4
commit
c587e65dea
|
@ -1079,7 +1079,6 @@ static void crypto4xx_bh_tasklet_cb(unsigned long data)
|
||||||
pd->pd_ctl.bf.pe_done = 0;
|
pd->pd_ctl.bf.pe_done = 0;
|
||||||
crypto4xx_pd_done(core_dev->dev, tail);
|
crypto4xx_pd_done(core_dev->dev, tail);
|
||||||
crypto4xx_put_pd_to_pdr(core_dev->dev, tail);
|
crypto4xx_put_pd_to_pdr(core_dev->dev, tail);
|
||||||
pd_uinfo->state = PD_ENTRY_FREE;
|
|
||||||
} else {
|
} else {
|
||||||
/* if tail not done, break */
|
/* if tail not done, break */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue