From patchwork Wed Oct 31 11:14:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 10662503 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 5597A14E2 for ; Wed, 31 Oct 2018 11:15:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4377529165 for ; Wed, 31 Oct 2018 11:15:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 332962950C; Wed, 31 Oct 2018 11:15:07 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05BCA29165 for ; Wed, 31 Oct 2018 11:15:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbeJaUMm (ORCPT ); Wed, 31 Oct 2018 16:12:42 -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-Google-Smtp-Source: AJdET5coNgYIj3kLylS4eFhw4KtjsO09QsBFXDLTEaaeLnuhcsAic2PNyU0Ea4C7RApfTztuMAdyEg== 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP GCC 4.6 is the minimum supported now. Signed-off-by: Mathieu Malaterre Acked-by: Miguel Ojeda --- 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