Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1722459imu; Thu, 13 Dec 2018 22:34:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ue7RHh2C+u3hx/fmGd7wlNPO3gg3EA/3r97NjWJNGgklsvk/v7Xov0MLTsu9GEhU4FuRfS X-Received: by 2002:a63:960a:: with SMTP id c10mr1665483pge.106.1544769270793; Thu, 13 Dec 2018 22:34:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544769270; cv=none; d=google.com; s=arc-20160816; b=WSWnfqsQDKCl+zBhn0hoNVY9W8USYKtPYgkVrthds1EUUo7XzjlUVnWqj/TDmKE07s TdhbL084LTr9nfhtP7/WdGoHOWcxnNKuVHjpPEU9073MecEt/e2YDwZU0u6FuhdAijO+ WQgaGwShhqIMHcy/enVKITjSZNZK3HyO5IoQrRXD7Txs9SN+1vx7TaUuL7Gip2B50DqB x2TVzNfJ142E4AFU8/rBWsueiCPnHlLc92Elx5r39sOArsLtPMZCJsIUYTBFbbEzoxTo pqzdM0ZYc81WRa91RSEt0D+ceVjBZqYp+iNwt1KSHb9iWxcZfprgZWDra/QosIfYeSd1 s4ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=pzNwl8uBgNNyis/bc9NTuPrBgTojXNrJ+rJ9m3YGFp4=; b=uE9XCo4Srw7UYrIuGPz5ZtFeDj7Rb765zo3QXORoY58tRbDctq+4teBwzTx/uDxwSR SpvRM+kjZO7vYD+OPq8hSwe8BSoZ01DQjOVewQa0ldF91XLpSrluUlY+w6QZuK9ctBah Z9vzL/9sUunctpzzz9iznbkmCXQzcWcIciF09MOA50ji8Lqo84AGtRSeo0AEiECS5i00 DciqTAkdeoVg8Nqnvj0WvIArzBTaFI2J8daVVbOBIMBj2OXw/77jzbml1Nf2S0k4E9s8 wBXMZIouIRlPdJYrNc+8YWWYl5MEEFhAHFGOs+WmNGv59BUrFDndLqJBFmWTPLTIHqgr UyDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uyfqPVUL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24si3527832pgh.362.2018.12.13.22.34.15; Thu, 13 Dec 2018 22:34:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uyfqPVUL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726662AbeLNGcY (ORCPT + 99 others); Fri, 14 Dec 2018 01:32:24 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46194 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbeLNGcY (ORCPT ); Fri, 14 Dec 2018 01:32:24 -0500 Received: by mail-pg1-f195.google.com with SMTP id w7so2212145pgp.13 for ; Thu, 13 Dec 2018 22:32:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pzNwl8uBgNNyis/bc9NTuPrBgTojXNrJ+rJ9m3YGFp4=; b=uyfqPVULO04xu1npW4Rrcu+6JIArwOO9PRfkH1g0Hk8dBIBo0OB2Fwmi0vGxgQph/+ Jo+yjNd1b6xFQdM0HZa7s4gSGap74LyW0ctyi63kxd97/nHMvEJgj5xODIXZTSxYWIBm L88ZNvRzCdZWXjH7CO6P4QQ5RFIhNLaYvWYmqHFe70TrBOlOrTqPKxAgHI/+eL1WRXdM WEeNMnbPfJarb6wsBzis4iqHsQnQ++Bdu4qfQPA3WVbuoJm3aqQwf/Ef1mIkUrZTgIbS 5V/y10Bzz8lStOOdZuWCEVNip1jPzedx9qpsJas/+/2K4ZEAFKalmbzeVY73fxhGkx1D V/2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pzNwl8uBgNNyis/bc9NTuPrBgTojXNrJ+rJ9m3YGFp4=; b=Jc3YA4zC0nGlYpO6hXF9u/dBQesYwoMXgo4SzO0eUikcFtfj3o7h7Y4e6ykrwGxE+j z2mAGNYohv5PxjBZdog1uP0tWmxWhFKNaCpYdRKYZ333VTpJ9//VyPuqxJzHBkluFqX7 uHcVh4xx3nWsgQ/1B7Lf2gTcBDd6KjoaHSZwJv0s4LZtpp31dBGzWcrQyAY6vHJ7ieLW 3CH0XZFrG2VQ2DYpxrXPKCWxity5MaJJAs6hgk96Hv944z88hhEbpfblLCgLFoajgAOE WCvtx1q4WWlbEh3x+vPT+VOJMDTpUsG80YEvyFxLUNkHiyG4Ag4couc224YAuaBwstr/ wszw== X-Gm-Message-State: AA+aEWYf8M/yOOd9lnDrbra4b/ZjrxOrDeF/L89HEp8FinE7KmTwg6PP FcCzkb5njHkTJcTfqdal4Om9iEAE X-Received: by 2002:a62:2044:: with SMTP id g65mr1691462pfg.127.1544769143294; Thu, 13 Dec 2018 22:32:23 -0800 (PST) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id i184sm6675396pfc.41.2018.12.13.22.32.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Dec 2018 22:32:22 -0800 (PST) From: Wei Yang To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: akpm@linux-foundation.org, mhocko@suse.com, Wei Yang Subject: [PATCH] mm: remove unused page state adjustment macro Date: Fri, 14 Dec 2018 14:32:11 +0800 Message-Id: <20181214063211.2290-1-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These four macro are not used anymore. Just remove them. Signed-off-by: Wei Yang --- include/linux/vmstat.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index f25cef84b41d..2db8d60981fe 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h @@ -239,11 +239,6 @@ extern unsigned long node_page_state(struct pglist_data *pgdat, #define node_page_state(node, item) global_node_page_state(item) #endif /* CONFIG_NUMA */ -#define add_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, __d) -#define sub_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, -(__d)) -#define add_node_page_state(__p, __i, __d) mod_node_page_state(__p, __i, __d) -#define sub_node_page_state(__p, __i, __d) mod_node_page_state(__p, __i, -(__d)) - #ifdef CONFIG_SMP void __mod_zone_page_state(struct zone *, enum zone_stat_item item, long); void __inc_zone_page_state(struct page *, enum zone_stat_item); -- 2.15.1