Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3317341rwb; Mon, 5 Sep 2022 09:33:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR4IFnd3FKzoEW6V+b5N2Sz9XeABi6fxXpba8dwik+jZbCyR9GyHB/mxShnA8cnHJqr/MCbR X-Received: by 2002:a17:90b:3e82:b0:1f7:3792:d33c with SMTP id rj2-20020a17090b3e8200b001f73792d33cmr19962364pjb.222.1662395580721; Mon, 05 Sep 2022 09:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662395580; cv=none; d=google.com; s=arc-20160816; b=nNm1WkUmU53qUXu2OC3JPjn8sOBDzIfdgnmrblrPAyG7jL4+mjiLQ4hczo13LgIM+s nAKl65pBncuzManFCk60FeWHn+XjbalOnVq61g3mphwmy+Oc/lApfUcwj+oyfBNJ8cn2 MJ1jCxEMvGfDWmVMrgRSfkt+A9wI6mUnra0eyL4XtGnZDpD7ev5YShCIE0T/ohw86SW7 MzLKsWBFUaTgRRepXomGT9XBiQ30yKbn5WIOXCmrUmXCSTcrjmiK9AVdSVMfSG7Pc2Jf NXq5cc32IpLY69lY3vVU0Ri/4MkxErt8z4wxX7PmXBonMf34kmd/0B7O9dCEBZS3BSbi NWew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=MJWYehalyE7xzxN8vFdq7KHJaUbQjuvNYujgwg5oPs4=; b=KFr5oD16mGZr2gd9mDbACO/8NaeJ1sMFdifX0NJT+/8PFnnM1+wT/AiG2c4RLoyK4z xuYaHC7AX2hybMtevLkmzD8B6c/GyfEz8tKDeO5LAV1W10eHcy07I3UHVAu7qK4RLlRd uXMytesmfuJr7t/kUBEfXtyd7bx3vKyuf5GaB1J5+JHQoE1mETLscm5uQB66ldPIX7Cw CHfEebSYlonnTlgSFqmwkEu3r/rzV4pYpbtNVK2huV0uLSVZn3tYodcRg6XU556dNJUY UM/QUVhCLjF4qOHyj15fFw93g34OgQVt/2cDkAXll2Pc8pwxB2k+6VJlqezJJYoTuVzK mu/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020a17090ab90200b0020036f6822csi5687962pjr.24.2022.09.05.09.32.48; Mon, 05 Sep 2022 09:33:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231702AbiIEQMK (ORCPT + 99 others); Mon, 5 Sep 2022 12:12:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiIEQMC (ORCPT ); Mon, 5 Sep 2022 12:12:02 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFBC853D30 for ; Mon, 5 Sep 2022 09:11:57 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVEhP-00077H-2H; Mon, 05 Sep 2022 18:11:47 +0200 Received: from pengutronix.de (unknown [IPv6:2a0a:edc0:0:701:b4c0:a600:5e68:1e31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 25886DAE55; Mon, 5 Sep 2022 16:11:45 +0000 (UTC) Date: Mon, 5 Sep 2022 18:11:44 +0200 From: Marc Kleine-Budde To: cgel.zte@gmail.com Cc: wg@grandegger.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, mailhol.vincent@wanadoo.fr, stefan.maetje@esd.eu, socketcan@hartkopp.net, biju.das.jz@bp.renesas.com, cui.jinpeng2@zte.com.cn, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Zeal Robot Subject: Re: [PATCH linux-next] can: sja1000: remove redundant variable ret Message-ID: <20220905161144.drgnpb2fvweoerti@pengutronix.de> References: <20220831161835.306079-1-cui.jinpeng2@zte.com.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xqfmf27xgyrd3o2i" Content-Disposition: inline In-Reply-To: <20220831161835.306079-1-cui.jinpeng2@zte.com.cn> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xqfmf27xgyrd3o2i Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 31.08.2022 16:18:35, cgel.zte@gmail.com wrote: > From: Jinpeng Cui >=20 > Return value directly from register_candev() instead of > getting value from redundant variable ret. >=20 > Reported-by: Zeal Robot > Signed-off-by: Jinpeng Cui Applied to linux-can-next. Thanks, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --xqfmf27xgyrd3o2i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmMWH74ACgkQrX5LkNig 011N8wgAjbGH8D7pQY+wACD4zGAst6TPnXv8eHdpyHK/Q3FPaMnuKtjX35Ma8S/r xeaA9LJDGii5RVbxuMWiMxALuaxVXs6ClXaH8lvPYGWIXHhqzlaPNb9HHf5j9jL3 Wemb0822SbnYV7UhlOY5uIFrKAe3aNQDIn9v+ckaBjsuGcQp7o1k4vPnUPKzinh+ lyLEfRrni0ArQbClu4PJQrol+ezALkOUgcPboCofVcbVZ8ZklF9TZBaOBPkcD4o9 D9+pKQqTaNSZjCkcxRk9uefMsnVlcDnE/JYIRSSDumtkD/KqDT9glyEQMhwsDwix zcTwmAUba08Bzm22royawOTjblDjRw== =6yVC -----END PGP SIGNATURE----- --xqfmf27xgyrd3o2i--