Files
linux-stable-mirror/include/linux
David Rientjes abb2ea7dfd compiler, clang: suppress warning for unused static inline functions
GCC explicitly does not warn for unused static inline functions for
-Wunused-function.  The manual states:

	Warn whenever a static function is declared but not defined or
	a non-inline static function is unused.

Clang does warn for static inline functions that are unused.

It turns out that suppressing the warnings avoids potentially complex
#ifdef directives, which also reduces LOC.

Suppress the warning for clang.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-06-06 14:09:22 -07:00
..
2017-04-28 18:09:59 -04:00
2017-05-01 14:09:21 -07:00
2017-05-24 12:43:30 -04:00
2017-05-25 13:44:28 -04:00
2017-05-12 15:57:15 -07:00
2017-05-08 17:15:12 -07:00
2017-05-03 15:52:10 -07:00
2017-05-09 16:43:23 +03:00
2017-05-03 15:52:10 -07:00
2017-05-08 17:15:12 -07:00
2017-05-09 16:43:22 +03:00