Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1048986pxj; Sat, 15 May 2021 02:10:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1WPxe4KDpH2/myRNKTb068MIjL2vXHDIS0C3G48T/f7Li5/ueKT12HxV3RkjiqkkPtkGe X-Received: by 2002:a05:6e02:1bc3:: with SMTP id x3mr43239834ilv.47.1621069801039; Sat, 15 May 2021 02:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621069801; cv=none; d=google.com; s=arc-20160816; b=GVnPd6R7g8eZkWY8jwe0aInh5LjNLZ8lads/xjgSQgVYuZaxq47Ij1Vk5P8PAqTM8c CW0lkIhpHG9t+A4E7uF0jlHj/5lmSCI4P5gJfCFxusCNPGjrCDPCNjH3/umvv1yKJJg0 OkJ6RV7fxSqz6EEfXfzcaRxgGeAYAb3EGrMYO/y738XwwjYNbIdWQFwBBB3tPiFFVYr1 4WOlDCj1JS1n5QvVnfIjjmlZT7X+MqPu2mHNORKLH9zlMvV+XE0eV61BFmKnvoWJqt+U xOvyqj0zOAf2cTrKfSeRN8c29S1E6fNuyOtmWfBpNLn6OFmCYl5/yT6wVYo9X779JOGC Gysg== 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=ZZf6hQ2Y2b8f7zlo9zSdD5zFUPRoVQkoA8bb78amP80=; b=fQ4FlXi7r5Y5F7ZMFvXtkGP6gFgTnYMR0FRXDvhJaVDcr91LxnDy/9283/JLG3qmNs MJZKuCil3JFMwVRqEwqaYL7WGSzf1exnBTehCEozsX0ZoWtSSqtAHpmy0UHYvD0c65Uj ZqQ7WKJLsaWBLwkSUnFnmU9AEZENu/TYpwxPAEsmX/h3u2K8qD4jYG/kzuDT/uLNqFFL 10ZNNdpO9H2yMproRvXe+YwH1Al3FnERRXo6eBmLa8rCindsLPFxpSZvBqNZQPGxxIZX 0OyfNMiAoaWC6JqaE8jfjJbdVV+Gx2ciBrlzg65wn5BdYqppr49x1Fy+Q3Bgp5dzO8Cz I1GA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y20si9858634ili.108.2021.05.15.02.09.33; Sat, 15 May 2021 02:10:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231751AbhENUmX (ORCPT + 99 others); Fri, 14 May 2021 16:42:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231597AbhENUmW (ORCPT ); Fri, 14 May 2021 16:42:22 -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 A374EC06174A for ; Fri, 14 May 2021 13:41:09 -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 1lhecK-0006lj-3Z; Fri, 14 May 2021 22:41:04 +0200 Received: from pengutronix.de (unknown [IPv6:2a03:f580:87bc:d400:d2a9:f0ae:b10b:5ba5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) 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 7929A6246DB; Fri, 14 May 2021 20:40:59 +0000 (UTC) Date: Fri, 14 May 2021 22:40:58 +0200 From: Marc Kleine-Budde To: zuoqilin1@163.com Cc: socketcan@hartkopp.net, davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, zuoqilin Subject: Re: [PATCH] net: Remove unnecessary variables Message-ID: <20210514204058.lqd2gryxbfkto4ra@pengutronix.de> References: <20210514100806.792-1-zuoqilin1@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gyij337c7zi7s5x5" Content-Disposition: inline In-Reply-To: <20210514100806.792-1-zuoqilin1@163.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --gyij337c7zi7s5x5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14.05.2021 18:08:06, zuoqilin1@163.com wrote: > From: zuoqilin >=20 > There is no need to define the variable "rate" to receive, > just return directly. >=20 > Signed-off-by: zuoqilin Applied to linux-can-next/testing. regards, 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 | --gyij337c7zi7s5x5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmCe4FgACgkQqclaivrt 76n23Qf/cgv1dhi3wsb0LE/7sAE/Ui1kVpBZ4FnrVb39mfj9OwlaGIw9kq+Ibfzg BNZcFYkNh5Je/B7sEkdtLrmuITgdidzhZyfMRa8Dx21kTxD1FQL+fO2Zx45imfzn BfvyVPrxLdypRxvrD6QyvfwI7iqPxasBXfu0Hzz9TpNSEXCs+SAn9WEYUHl6HHrn y7T/tPQx+NxUTXM1WsuA+rNTyWG0BcLECG78ivgxtPbFNtHyfRKj4uWTReZpa3Ae 5kJCWSL77ZmhJc0cQeuH1rHJsIJLWqKVJ1EcBGwYPUdI9P5WxSGo92Bnukg66o4V ex1yG02lzElETbg5ogIXTzRLiunO/Q== =Ds8o -----END PGP SIGNATURE----- --gyij337c7zi7s5x5--