linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove old GCC version implementation
@ 2018-10-31 11:14 Mathieu Malaterre
  2018-10-31 11:28 ` Miguel Ojeda
  2018-11-26 10:44 ` Mathieu Malaterre
  0 siblings, 2 replies; 5+ messages in thread
From: Mathieu Malaterre @ 2018-10-31 11:14 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Mathieu Malaterre, Michal Marek, linux-kbuild, linux-kernel

GCC 4.6 is the minimum supported now.

Signed-off-by: Mathieu Malaterre <malat@debian.org>
---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-11-26 10:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-31 11:14 [PATCH] remove old GCC version implementation Mathieu Malaterre
2018-10-31 11:28 ` Miguel Ojeda
2018-10-31 16:13   ` Masahiro Yamada
2018-11-17  8:00     ` Miguel Ojeda
2018-11-26 10:44 ` Mathieu Malaterre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).