Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp825203pxk; Wed, 9 Sep 2020 22:19:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF2Q+io6+cjMBdwgia8Sl9rfrtb1d9l9GJ0XXrBekdy1P38+DBD3WfwYsI7sAwzuFnxlYr X-Received: by 2002:a17:906:a207:: with SMTP id r7mr7237310ejy.32.1599715176376; Wed, 09 Sep 2020 22:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599715176; cv=none; d=google.com; s=arc-20160816; b=cWL3mjm+cvzufxneJG0gkUv1XRo5d13C9cVpZcwBDyrTUynD91tajVMrXxmeillXcY NR7iC25L8+iQ9No0K8oxEoFsIPRBoagZd64LyNoRO0gK55XaETUWC8odRWpc42kuwLL2 PI0HtJyoYLa8LC+mrVAWP/CaAtsWb77O/FVWm4xgltBgY6BviSQOQqjlEXCrinlKD+S8 tW2Dm20LdEAerr7pZQeyxFXvdDNLUC+cHfOzheJjP/08Kb+3cFkm968b6lxB4cQ8uDt2 pczyPM9hQE6Q/kKP3p99mzqLKpqEsRmEZZ/lflKBjRPX5VnfH8z+/OinUnn4LKPm3R3E QYaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from; bh=32pKHB9ujL5WKTmJrs15ZZ+rVRdI3oPgox7ph00hJFA=; b=I+oWt9dIeNT1l/9/PRtOjDs0s8tuR9RXtRVa/B7XIkb08ZJoe/wZM3B+dFdkxZ1a99 1UH7wIVLxmpVCzyQL7v6ushtma3RCxUhgOiSJGeceNhhgPCv+yebScu5WN8ZSgIlrN8F XVUL0VXeVEolggA5Y6CA4lAKv84zzHDYMzxXXyy1doO/HO8zJOVD6rOwiY2O/HL7638B hCfF31yjc2SoIYohlFx7uLCztI6wlSzHvXeOhA+HfV2Rrs4peMlo/EkV/89IWCLPKeBg NC+aTjPnLhhgc3GXF61TEsD4uGJqGp61MquPn7BeZ6L6cynn9oIYmX+cutsEVGmlOmqu C5GA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k16si2937119ejb.210.2020.09.09.22.19.14; Wed, 09 Sep 2020 22:19:36 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726426AbgIJFSk (ORCPT + 99 others); Thu, 10 Sep 2020 01:18:40 -0400 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:6503 "EHLO out4436.biz.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbgIJFSf (ORCPT ); Thu, 10 Sep 2020 01:18:35 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0U8TC1ti_1599715103; Received: from aliy80.localdomain(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U8TC1ti_1599715103) by smtp.aliyun-inc.com(127.0.0.1); Thu, 10 Sep 2020 13:18:24 +0800 From: Alex Shi Cc: Naoya Horiguchi , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: remove unused marco writeback Date: Thu, 10 Sep 2020 13:18:16 +0800 Message-Id: <1599715096-20369-1-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Unlike others we don't use the marco writeback. so let's remove it to tame gcc warning: mm/memory-failure.c:827: warning: macro "writeback" is not used [-Wunused-macros] Signed-off-by: Alex Shi Cc: Naoya Horiguchi Cc: Andrew Morton Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org --- mm/memory-failure.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index f1aa6433f404..3a97440cdf8c 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -824,7 +824,6 @@ static int me_huge_page(struct page *p, unsigned long pfn) #define sc ((1UL << PG_swapcache) | (1UL << PG_swapbacked)) #define unevict (1UL << PG_unevictable) #define mlock (1UL << PG_mlocked) -#define writeback (1UL << PG_writeback) #define lru (1UL << PG_lru) #define head (1UL << PG_head) #define slab (1UL << PG_slab) @@ -873,7 +872,6 @@ static int me_huge_page(struct page *p, unsigned long pfn) #undef sc #undef unevict #undef mlock -#undef writeback #undef lru #undef head #undef slab -- 1.8.3.1