From patchwork Fri Aug 25 13:47:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 9922059 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 580C6603FA for ; Fri, 25 Aug 2017 13:47:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4826B281F9 for ; Fri, 25 Aug 2017 13:47:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C90B28329; Fri, 25 Aug 2017 13:47:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE9E2281F9 for ; Fri, 25 Aug 2017 13:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932741AbdHYNre (ORCPT ); Fri, 25 Aug 2017 09:47:34 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:32979 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932435AbdHYNrb (ORCPT ); Fri, 25 Aug 2017 09:47:31 -0400 Received: by mail-wm0-f66.google.com with SMTP id e67so2671462wmd.0 for ; Fri, 25 Aug 2017 06:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=eJBSVUanfNf+HWs0SslOvugDs4SXomryH2VzDdXl9cw=; b=CToEkI1gEofBU0akTMPHMG3goRAZ8Hhxlyl+GfTyIbeO1pu0QrTlFExzTmZc6mnR++ SlcvYRKEyrazDO1sUDy6NkHgE7daMmuJeZyXo8U/770OeQj9Ov08K4mUYHG1qBcpTq03 dM5A7BwmwHH2mAblHA+ndMmsIyIjJcXIUNyJYCfJ3qg2b9CWhI/JpRZDXEaJSYykwz/3 xp6HpFDQ5Cwp0hc5uIaxo1WBh7Lv2G8JnkMYCtb5GTOpNk7W2c5SiP4swLiqMr/0FpxK 3/dxURsLv6QDM8BzY6cSf3QvSxpHzSflyVO7ttMzGUJlRM/KrQGdIijmcp4vYhEigpME AOgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=eJBSVUanfNf+HWs0SslOvugDs4SXomryH2VzDdXl9cw=; b=Dzw41uEWtx6Md+GwhXVepSrCnHBqF1LyKT7At8RGqyPZEg3BTqHVUkFOsdhkAs2PX8 YV6MSXsUrgQq9FOaGEy6jPV0NxCjpkf+WJcZ4cQyQpEegX8kkcvO7GyIDJzuATzy6zGY MuUZJSnM69rPoREBeAVGno9ZasJ4cWKuGnG9yHbSuKyy4H03iUQ5htH3D4gLRiyNynmA 8jHRBK7vpvNnv58TANuj2rTtRDGMrudmvTIgMIsQGzrHRbK81Zs3oo8iTJHcN+0YxH+q H28Ro+vrfDy7LJ0kNhB40X2DCnwd9xIbEqXIlHgRTAncQ/G+6a8f0x+MgeDQ0uYEecsB +UEA== X-Gm-Message-State: AHYfb5hg2Qt5oFyfeWSRPGd8G1bUo2DpQbpVxHp+9JrejF+DXJL83jbV z7D2K2nQQdDe844j X-Received: by 10.28.107.69 with SMTP id g66mr1534652wmc.119.1503668849469; Fri, 25 Aug 2017 06:47:29 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC232FCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc2:32fc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id l5sm1259034wml.2.2017.08.25.06.47.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Aug 2017 06:47:26 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.89) (envelope-from ) id 1dlExJ-00029U-E4; Fri, 25 Aug 2017 15:47:25 +0200 From: Christian Lamparter To: linux-crypto@vger.kernel.org Cc: Herbert Xu , David Miller Subject: [PATCH 05/12] crypto: crypto4xx: remove double assignment of pd_uinfo->state Date: Fri, 25 Aug 2017 15:47:18 +0200 Message-Id: X-Mailer: git-send-email 2.14.1 In-Reply-To: <71020bd2e3f4100c3c0668a13fdad9d22c8884a7.1503668705.git.chunkeey@googlemail.com> References: <71020bd2e3f4100c3c0668a13fdad9d22c8884a7.1503668705.git.chunkeey@googlemail.com> In-Reply-To: <44b9527904d134982932cb807a3fa6f36093acbf.1503668705.git.chunkeey@googlemail.com> References: <71020bd2e3f4100c3c0668a13fdad9d22c8884a7.1503668705.git.chunkeey@googlemail.com> <85532949069735593f777489c6efcb6d1b08cdec.1503668705.git.chunkeey@googlemail.com> <7f51944084eef13bebe5f052557533bf6ade4ebc.1503668705.git.chunkeey@googlemail.com> <44b9527904d134982932cb807a3fa6f36093acbf.1503668705.git.chunkeey@googlemail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP crypto4xx_put_pd_to_pdr() already clears the flag. Signed-off-by: Christian Lamparter --- drivers/crypto/amcc/crypto4xx_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index 249d35ff3806..9e96af725b31 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;