Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2149461pxa; Mon, 17 Aug 2020 02:05:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7lyKqvX24LeXtE3Pf49KdbFAom+JSXig3A7M7UIgUFRCWWFpKr6O3zWyA+E7rEwP4luBe X-Received: by 2002:a50:e004:: with SMTP id e4mr13828022edl.114.1597655141752; Mon, 17 Aug 2020 02:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597655141; cv=none; d=google.com; s=arc-20160816; b=nHy2gbWO5XWMq1UptmwIJKmuMgGmKsGilfu6Pa/EeWP7AtUm0Yf9/6FiVqySbsmtMx YkYSRfzyR/ZbvOi2VyVXGriVyZsFVtFvmH0nbngle/VBmMAAfpFFk0lFmo7k5bBSZNY9 nDWcXaOiDYRmqojYHlbFRjonlH+D0L2SD9XxWj/Hpp421bv+HYDl0z+z2SeWDthnRdZT dl8E+Jjt3Xx8onvKooN4S6F57xW8srFJdGbkiFHZ+lWSJgHYaIuJSsezoZ/yqRuahE2S KmmqggBpJ4oTu5th4A/vbGXZdK1BxrAXF2StNCaeF+5dipt+g+rNqsu1zIJXWPZkz+Hh zl5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=I+mJ0v2oNuhy+WTY8atXItVkaMnuwgUxSQO5NHu1LJQ=; b=q/ZnzVIhcLRVAnH+o/huMbI4rG2nAAWyKAME7zLELDmG+tKM3zkKVRAE4I1Qv3j4OS 1HzKcSlaRt8hwxR8Ye34TmyzgVsiDPAYMAemS01/YTZxWT1Q718qZNSqRSyXU3M03XRQ nlmsH2H1OF37QV4Zod+rHJU4Go3etk+G4Mcq6vTly9JbxZPZ6hMrMtle4TftYH64dTZ2 F8RMF3Gcy1M7++a7c2L/JoZJZeenGHtf0AfW3UKZEtihSKxZFKdcYvd9ZVEJBtF07SHF ibDalNSP36uOFBgwlhrgzhqNdUoOhVpiiOTBgNOM1A42vY+uMaYTDTEm2LHBBh4IB2b8 NHbg== 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 ss7si10342176ejb.164.2020.08.17.02.05.19; Mon, 17 Aug 2020 02:05:41 -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 S1728736AbgHQJDt (ORCPT + 99 others); Mon, 17 Aug 2020 05:03:49 -0400 Received: from mail5.windriver.com ([192.103.53.11]:58166 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbgHQJDq (ORCPT ); Mon, 17 Aug 2020 05:03:46 -0400 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id 07H92DgH005054 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 17 Aug 2020 02:02:55 -0700 Received: from pek-lpggp1.wrs.com (128.224.153.74) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.487.0; Mon, 17 Aug 2020 02:02:47 -0700 From: To: , CC: Subject: [PATCH] mm/mempolicy: Remove the useless newline in policy_node() Date: Mon, 17 Aug 2020 17:02:45 +0800 Message-ID: <20200817090245.28750-1-yanfei.xu@windriver.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yanfei Xu Remove the useless newline among policy_node parameters, that makes code neater. Signed-off-by: Yanfei Xu --- mm/mempolicy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index afaa09ff9f6c..a345ad50b86f 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -1885,8 +1885,7 @@ nodemask_t *policy_nodemask(gfp_t gfp, struct mempolicy *policy) } /* Return the node id preferred by the given mempolicy, or the given id */ -static int policy_node(gfp_t gfp, struct mempolicy *policy, - int nd) +static int policy_node(gfp_t gfp, struct mempolicy *policy, int nd) { if (policy->mode == MPOL_PREFERRED && !(policy->flags & MPOL_F_LOCAL)) nd = policy->v.preferred_node; -- 2.18.2