diff mbox series

[avr,committed] Remove an unused function (PR85969)

Message ID 5DB56E68.9030408@gjlay.de
State New
Headers show
Series [avr,committed] Remove an unused function (PR85969) | expand

Commit Message

Georg-Johann Lay Oct. 27, 2019, 10:16 a.m. UTC
Applied as obvious

Johann

	PR target/85969
	* config/avr/gen-avr-mmcu-specs.c (str_prefix_p): Remove unused
	static function.
diff mbox series

Patch

--- trunk/gcc/config/avr/gen-avr-mmcu-specs.c	2019/10/25 14:39:06	277454
+++ trunk/gcc/config/avr/gen-avr-mmcu-specs.c	2019/10/25 15:13:23	277455
@@ -50,14 +50,6 @@ 
 #define SPECFILE_USAGE_URL                              \
   "https://gcc.gnu.org/gcc-5/changes.html"
 
-/* Return true iff STR starts with PREFIX.  */
-
-static bool
-str_prefix_p (const char *str, const char *prefix)
-{
-  return strncmp (str, prefix, strlen (prefix)) == 0;
-}
-
 
 static const char header[] =
   "#\n"