From patchwork Fri Jul 22 13:32:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Lambert X-Patchwork-Id: 9243579 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 728DE607D3 for ; Fri, 22 Jul 2016 13:33:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6407327D76 for ; Fri, 22 Jul 2016 13:33:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58FB127FA3; Fri, 22 Jul 2016 13:33:57 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 17BAC27D76 for ; Fri, 22 Jul 2016 13:33:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754374AbcGVNdB (ORCPT ); Fri, 22 Jul 2016 09:33:01 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35295 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754443AbcGVNc7 (ORCPT ); Fri, 22 Jul 2016 09:32:59 -0400 Received: by mail-wm0-f65.google.com with SMTP id i5so6224549wmg.2; Fri, 22 Jul 2016 06:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=syLKhM/XNINO9orGF3/SBLZZdve9fpicf4yECnQBTzc=; b=vkiNDY1qr1QLdVsmKa2114KLB1b3uhMC9MGdSz9gpOt1frzZLrgJnZPJMvmEwXh1hz Mk0zOCEcrfJ0nbTb6OkUk7M8DD9h9gNB9Mr+nikK9SZocI5PFN7As6YHyN+QbQlJqyYA 7Xn9ZC1BtYmtwCcu9mDIGCfZo60quvTIz0Kesk0l2eWBiF3dJBkRxZRkFoNuFcDOKnSw jWBs/ss4m55NT/Of4L0l2UU20n3QAItjvHV1I/1q/V5ebqNKX+3Tj0A2uJW5gFpTZ9zM hSxXD6PZToGBZ/UTAU+ze31JHOgqTUkKDb8VXC6A+cLDWZTmPbBLLg7DnmQMkJ52BSKs MM9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=syLKhM/XNINO9orGF3/SBLZZdve9fpicf4yECnQBTzc=; b=Z+3d47JIaDN2DAkdRU0QHHL6gxQt/sSLaJr59Tn4HIleQ8ETt42U396OW49T3HfFFO PT/Kf6d5hKrVmLjLyRsgRCtkW3BlFJIXVFh8BePsV/XCuGR5+vpPOlS+k36PU2S23Q/r cdhuTclIwcCJ2b0ag78v7A1LOSPY6jHOFSdXjboLRPqnq7eZa2SUo1X6W8+OPJNUE6ho QdKWEv4YRV2rIIL1sgkHkzEZL5MV56PA7AJf4W8JpApORVK4S9WV40XGz0HjCnDEIIVd L9ZNaUxflc5proFHZhy/L9BBMCSawt/a4wFzP9iWm5KOyfbE/1iEbL2DF9hdUPzMepEg SXqA== X-Gm-Message-State: AEkoouuUhn0vnMM5yy9JMFzkTo4iB9hiTvGJRvZW6bgrxf9iCizs/JwJaXM61IkCSvEdvA== X-Received: by 10.194.102.72 with SMTP id fm8mr1017647wjb.50.1469194377390; Fri, 22 Jul 2016 06:32:57 -0700 (PDT) Received: from sloth.lip6.fr (hp-quentin.rsr.lip6.fr. [132.227.76.76]) by smtp.gmail.com with ESMTPSA id p23sm12648015wme.8.2016.07.22.06.32.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jul 2016 06:32:56 -0700 (PDT) From: Quentin Lambert To: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, Quentin Lambert Subject: [PATCH 1/2] crypto: ixp4xx - Fix a "simple if" coding style warning Date: Fri, 22 Jul 2016 15:32:42 +0200 Message-Id: <20160722133242.21916-3-lambert.quentin@gmail.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160722133242.21916-1-lambert.quentin@gmail.com> References: <20160722133242.21916-1-lambert.quentin@gmail.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 Signed-off-by: Quentin Lambert --- drivers/crypto/ixp4xx_crypto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/crypto/ixp4xx_crypto.c +++ b/drivers/crypto/ixp4xx_crypto.c @@ -447,9 +447,8 @@ static int init_ixp_crypto(struct device if (!npe_running(npe_c)) { ret = npe_load_firmware(npe_c, npe_name(npe_c), dev); - if (ret) { + if (ret) return ret; - } if (npe_recv_message(npe_c, msg, "STATUS_MSG")) goto npe_error; } else {