From patchwork Wed Jul 25 05:16:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10543443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5DC28112B for ; Wed, 25 Jul 2018 05:17:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CD942966F for ; Wed, 25 Jul 2018 05:17:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 403A129673; Wed, 25 Jul 2018 05:17:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E40392966F for ; Wed, 25 Jul 2018 05:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=247OVVt+Zo/me0bqPYYtXh2wBlfHzlvctwkJglh3+38=; b=O6N LBhxsY8fOF3Xk8BIf3Q/oXi/KzH1jYcaVKSZhYSNMnkE1ayZ0jOpis0sDA9nCg9n5P5rd2xzwi02j eStRe5JO4cgj3pr9ETdNeqJGx0bb601sw4/elSdBKrfS+NE4tGveQjReK1H9CI2Qia41qXV8gz7Vy kHGyr9k5s4PGdYn0nZROfViOycqCGF9/wVdN3LQeYgp9siNFmO5VfrNyDYp91EKdt90qRCQK9fgB1 +Ayfo980OZY25RDtU2Ol/mDFLrn5RuoqqeasHBNSru3F5XugZY37qqjtDzRuFtJ7RLvYcZMZso/SM 8q6qyk0s/s9pP28+imKhGDg+vCScW3w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiCAy-0006hX-VW; Wed, 25 Jul 2018 05:17:28 +0000 Received: from conuserg-08.nifty.com ([210.131.2.75]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiCAv-0006gY-CC for linux-arm-kernel@lists.infradead.org; Wed, 25 Jul 2018 05:17:27 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id w6P5Gs8H018750; Wed, 25 Jul 2018 14:16:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w6P5Gs8H018750 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1532495815; bh=omyLmj2wrxoszTiHUiyW3pwlEbwTYvlgy54KOlwFuUU=; h=From:To:Cc:Subject:Date:From; b=wYT6R/AMBuVDNblc28ngm6peeYk05p7//cAlYnlYUe5R0zoI5jGPsR+qvyh22C4M+ RMpaKVPya+X4LrOMO+wHXiPTwR0UllzuLSBnIE/TrmdBQ6+zDFcFdtFxuJRiP0Fd98 XsxWbbU+bXx5EyI1hwT/wjT0P5l/voISUGSdZDCFKA2IWJcQAxudRHfssqCTvNw8up sjj3bj0DEvawFc2HMokbq824XkdJxJiuPrWAYKJXXoCqtXsOThXU2UBagbwRiJdviA nrTGRtzDnWBX1Bvnvtb47CgaPVgcZE1HVn9R/fx7h4JdQpHj1newSPkmklULM+oZPv csig+T2rLBzpg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Subject: [PATCH 1/2] ARM: at91: remove unused duplicated filechk_offsets Date: Wed, 25 Jul 2018 14:16:10 +0900 Message-Id: <1532495771-10255-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_221725_732638_F26A2A09 X-CRM114-Status: UNSURE ( 8.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , linux-kernel@vger.kernel.org, Russell King , Masahiro Yamada , Sam Ravnborg , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The filechk_offsets in arch/arm/mach-at91/Makefile is never used because it is always overridden by the equivalent one in scripts/Makefile.lib Signed-off-by: Masahiro Yamada Acked-by: Alexandre Belloni --- I will queue this to my kbuild tree. arch/arm/mach-at91/Makefile | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile index 4ea93c9..7415f18 100644 --- a/arch/arm/mach-at91/Makefile +++ b/arch/arm/mach-at91/Makefile @@ -19,31 +19,6 @@ ifeq ($(CONFIG_PM_DEBUG),y) CFLAGS_pm.o += -DDEBUG endif -# Default sed regexp - multiline due to syntax constraints -define sed-y - "/^->/{s:->#\(.*\):/* \1 */:; \ - s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \ - s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \ - s:->::; p;}" -endef - -# Use filechk to avoid rebuilds when a header changes, but the resulting file -# does not -define filechk_offsets - (set -e; \ - echo "#ifndef $2"; \ - echo "#define $2"; \ - echo "/*"; \ - echo " * DO NOT MODIFY."; \ - echo " *"; \ - echo " * This file was generated by Kbuild"; \ - echo " */"; \ - echo ""; \ - sed -ne $(sed-y); \ - echo ""; \ - echo "#endif" ) -endef - arch/arm/mach-at91/pm_data-offsets.s: arch/arm/mach-at91/pm_data-offsets.c $(call if_changed_dep,cc_s_c)