Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp417026pxj; Thu, 27 May 2021 03:24:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2OHfSRGcI7B8BW1P71CfGD9HhFQvwmdF3pGsnaB0eGZiOXmwikECl3Qaft94rMPfyaJUf X-Received: by 2002:a05:6402:424c:: with SMTP id g12mr3356007edb.145.1622111068558; Thu, 27 May 2021 03:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622111068; cv=none; d=google.com; s=arc-20160816; b=qu/Vn7I/oXqLkyr+1SkI9LubzullGJgbzC1fIJqMKB9S99Dn952lz85z/wOcLVKRHO ivFe+jmQypbA/lz9c1F5ri9nDQwhZBh0ZnoHv7B/+OKVKLRDolhMTJBfFQ8q9CAzDrtN aJWJoml7YebpUwLI5nQ+wZqwZILUIOd4Q13N5nMONKaGBe8qTFu5aWNIww9RJtu5Wi9d MNPiJk+X6QjbL3k2pcqprbttoevk1HusRlRVQmFAinDvMpWg9Eh6XWrR0el7/yPjhgOl M2lBaM3Sxi0LpJIZOtH3IMPVG6sPqNrfh12Lzcr6drODUT3tmq5JiN+evf6ste4MvizS IkGg== 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=itdeh8O/9aFIHJkbPhuDMv3QqNmX9z2YFS6B6i47R5I=; b=xFo151oLZcFIIS5VaWYCbT7KPrKHCI8zn452jjnUFBW+LWaLVejye5HQFjJpwf3tG3 7J5OV8+j9qWEQU9E7uDYrFz6Isgu/4btrE3mDnyVG4nCZgg21ZE0kN5V8ujFRMIYZLNI qay4BeXetvBqyLlthR8CM2dL+ycmSNnX2n67Z08aPgCWS3VXp2Kg+JPj92zza2be0zWi QHMjlXeJNP9oAkz783Av3QMvnr5ycXFbQSKA9tD2NWE7RyS2tGlOjJaQtIwv9pYK2bTx bYadsrAxQ5JilWTZ5u2RCrkl3A2BSS28lXd3RV70TxtOPyAtG83EovjSC0RXkEz59zfF zyhg== 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 mp6si1649921ejc.146.2021.05.27.03.24.04; Thu, 27 May 2021 03:24:28 -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 S236152AbhE0KYP (ORCPT + 99 others); Thu, 27 May 2021 06:24:15 -0400 Received: from mailout2.secunet.com ([62.96.220.49]:47496 "EHLO mailout2.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236164AbhE0KYK (ORCPT ); Thu, 27 May 2021 06:24:10 -0400 Received: from cas-essen-01.secunet.de (unknown [10.53.40.201]) by mailout2.secunet.com (Postfix) with ESMTP id 4141A800051; Thu, 27 May 2021 12:22:36 +0200 (CEST) Received: from mbx-essen-01.secunet.de (10.53.40.197) by cas-essen-01.secunet.de (10.53.40.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 27 May 2021 12:22:36 +0200 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-01.secunet.de (10.53.40.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 27 May 2021 12:22:35 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 622DB3180390; Thu, 27 May 2021 12:22:35 +0200 (CEST) Date: Thu, 27 May 2021 12:22:35 +0200 From: Steffen Klassert To: CC: , , , , , zuoqilin Subject: Re: [PATCH] net: Remove unnecessary variables Message-ID: <20210527102235.GN40979@gauss3.secunet.de> References: <20210514075513.1801-1-zuoqilin1@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210514075513.1801-1-zuoqilin1@163.com> X-ClientProxiedBy: cas-essen-02.secunet.de (10.53.40.202) To mbx-essen-01.secunet.de (10.53.40.197) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2021 at 03:55:13PM +0800, zuoqilin1@163.com wrote: > From: zuoqilin > > It is not necessary to define variables to receive -ENOMEM, > directly return -ENOMEM. > > Signed-off-by: zuoqilin Applied to ipsec-next, thanks!