Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5918919imd; Wed, 31 Oct 2018 04:15:46 -0700 (PDT) X-Google-Smtp-Source: AJdET5cu4LbJB2cJYmMAKPK4Y3vxbBcgzb1Tj0+ygooiAJZ+NQ3A0btWm5rirtHwKpsFhokezKO6 X-Received: by 2002:a17:902:15a8:: with SMTP id m37-v6mr2950275pla.256.1540984546625; Wed, 31 Oct 2018 04:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540984546; cv=none; d=google.com; s=arc-20160816; b=m3X+jmnOl0bmNMcGYeGfYeiLpyIIRd4rI1Z/KsZc+qJUqofx76W3ENOT6aU/sBEIgQ my3SfX0ueuQWxG2Q/in5Qw5mlGd+cAh3aoC5/26kpGhz21mq+foiXVgsWSk/L59DEgQ8 Phmb38c1oIMB1sN7lJ+RTqR8f5k6iPYlERh532RBIsWKn4Ek1r7vvFW8qjnGo9Ilp/57 BLDZ8Z697RDnxPbMYuCCzqgEcICEgg5F5bVj9ChKKbI2OPuZPjfN7Cc1M5cxWYj3yR2j 55JQmcnSO7WSni8mlIFyovDr9KSuRItCd9gcRntzrmgk3tT2Eg+VUHkt/LTZs/XXURzY dh/A== 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=tsgv3WQBZ2I6seLCRLLpO5OKzY9VtH1tw8lEKALvuP4=; b=h/vtPR8ky4DZHnxpbXWMUbSozZbnJIw9V4cNsHj0QjwCWGOMroLuuwmyMFDz4o5fMe 2kpSKAZCIxBOuJ7vKk3j4XBFjo2v7aU8O0R1tp0fBjWcVnbVITBiUkzY5Gc7oiLlCOlU vdiUGGmGr9TsdTaiT7IL4l/iU4x0clMUx5C4zlaZKsI7YB5St4Y38GVMeWqMCVf7yYvF wS3i93k2Tz3ufL7oDVu/3zOdtq22EBEz0x3a2jbicVzsthhmqCGAZLbOXYp2aOIncoWq wv2Fou1EBTWW34/cHJWtjGEMo8o660/9+kanThLXrIe0NHPdDtLjy1209rRHCthCoECx vqhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=P8XD+YiI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e184-v6si28439809pfa.206.2018.10.31.04.15.27; Wed, 31 Oct 2018 04:15:46 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=P8XD+YiI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728281AbeJaUMn (ORCPT + 99 others); Wed, 31 Oct 2018 16:12:43 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52343 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727673AbeJaUMm (ORCPT ); Wed, 31 Oct 2018 16:12:42 -0400 Received: by mail-wm1-f66.google.com with SMTP id 189-v6so14723311wmw.2; Wed, 31 Oct 2018 04:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=tsgv3WQBZ2I6seLCRLLpO5OKzY9VtH1tw8lEKALvuP4=; b=P8XD+YiIfVkhSSw/zc8qa8DZQjIl9917TMcy1F+0JtRO53o8hBNicEa5UpayOZOFbM u6Eb0FeZ+DLxSmv0dpwrzEufM8c5G4cG5YByI9a12Gc3Sdiuerv6SdY5QZPenr8j3EnF 4blcMTFr3ho9ToFyd5I2wPRQuxhJ8BIUB8DzVDpuU4JwpWanFpdFMftvHjY0W5MVETjC 3P+rG8Wy11PFB9uSm5k4w5+KhNAE7twQcl6A7AY30HQZmk6mt9O/5HQzkb3ha1HANB4g +mTHXtDUG9slpgsYNDae0+XQGi3+wB1+9pEzSG8c6Q+RJ/SFktuHajFqcAEKixxfmX8d ymKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=tsgv3WQBZ2I6seLCRLLpO5OKzY9VtH1tw8lEKALvuP4=; b=AJjg2sRirKTHvYLVkphvmmg7+HoOqFqeBPDrysALuwsZtWRtI5R9TCHQu1zZArGNte fGCROYuggXyWhIj01bPG8Zha7bX+n8jH3uknfNlAv8GzBL5XbER/NbA8SN8/Sm4ElLAQ 4sfaHbJt055TmT4GpM+VZuvhHmgXbt59+xVaQNzonaDwJ0osq3g3DE+1ow9kjbe1hEHu eMHXbk+3cN2X3vTP8MKw4ea0q75vxMp8zqUDeDaCuXjdrgNd/GH5fcqy5CN24FgjLMvI +A1shhfXAZEfvv0eLmp5kg/C5l1sX3MIQ/99hcB/+2Kbq7/sN989OuYXicIIxV1ACvRS CY0Q== X-Gm-Message-State: AGRZ1gLr99XvwracfigiSL0D2+wtY6uCscHwl8DfqKmy2DNnfBXmzYxJ cdZKsjvDXIqTNT8xX3VOjU0u+NeR X-Received: by 2002:a1c:7815:: with SMTP id t21-v6mr2129040wmc.13.1540984503275; Wed, 31 Oct 2018 04:15:03 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-224-134.fbx.proxad.net. [78.225.224.134]) by smtp.gmail.com with ESMTPSA id m2-v6sm22950937wrj.80.2018.10.31.04.15.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Oct 2018 04:15:02 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id D9A66114230D; Wed, 31 Oct 2018 12:15:00 +0100 (CET) From: Mathieu Malaterre To: Masahiro Yamada Cc: Mathieu Malaterre , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] remove old GCC version implementation Date: Wed, 31 Oct 2018 12:14:43 +0100 Message-Id: <20181031111444.3472-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org GCC 4.6 is the minimum supported now. Signed-off-by: Mathieu Malaterre --- scripts/mod/file2alias.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 28a61665bb9c..4b59564d4706 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c @@ -83,11 +83,7 @@ extern struct devtable *__start___devtable[], *__stop___devtable[]; #endif /* __MACH__ */ #if !defined(__used) -# if __GNUC__ == 3 && __GNUC_MINOR__ < 3 -# define __used __attribute__((__unused__)) -# else -# define __used __attribute__((__used__)) -# endif +#define __used __attribute__((__used__)) #endif /* Define a variable f that holds the value of field f of struct devid -- 2.11.0