020-0005-crypto-crypto4xx-remove-double-assignment-of-pd_uinf.patch 867 B

123456789101112131415161718192021222324
  1. From c587e65deacf8c86de2d7c51f1e81d0a4a9147a8 Mon Sep 17 00:00:00 2001
  2. From: Christian Lamparter <[email protected]>
  3. Date: Fri, 25 Aug 2017 15:47:18 +0200
  4. Subject: [PATCH 05/25] crypto: crypto4xx - remove double assignment of
  5. pd_uinfo->state
  6. crypto4xx_put_pd_to_pdr() already clears the flag.
  7. Signed-off-by: Christian Lamparter <[email protected]>
  8. Signed-off-by: Herbert Xu <[email protected]>
  9. ---
  10. drivers/crypto/amcc/crypto4xx_core.c | 1 -
  11. 1 file changed, 1 deletion(-)
  12. --- a/drivers/crypto/amcc/crypto4xx_core.c
  13. +++ b/drivers/crypto/amcc/crypto4xx_core.c
  14. @@ -1081,7 +1081,6 @@ static void crypto4xx_bh_tasklet_cb(unsi
  15. pd->pd_ctl.bf.pe_done = 0;
  16. crypto4xx_pd_done(core_dev->dev, tail);
  17. crypto4xx_put_pd_to_pdr(core_dev->dev, tail);
  18. - pd_uinfo->state = PD_ENTRY_FREE;
  19. } else {
  20. /* if tail not done, break */
  21. break;