Commit fc2f7efa authored by Uwe Kleine-König's avatar Uwe Kleine-König

modpost: remove now unused NO_MISMATCH constant

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent 0d2a636e
...@@ -835,7 +835,6 @@ static const char *linker_symbols[] = ...@@ -835,7 +835,6 @@ static const char *linker_symbols[] =
{ "__init_begin", "_sinittext", "_einittext", NULL }; { "__init_begin", "_sinittext", "_einittext", NULL };
enum mismatch { enum mismatch {
NO_MISMATCH,
TEXT_TO_ANY_INIT, TEXT_TO_ANY_INIT,
DATA_TO_ANY_INIT, DATA_TO_ANY_INIT,
TEXT_TO_ANY_EXIT, TEXT_TO_ANY_EXIT,
...@@ -1280,8 +1279,6 @@ static void report_sec_mismatch(const char *modname, ...@@ -1280,8 +1279,6 @@ static void report_sec_mismatch(const char *modname,
"Fix this by removing the %sannotation of %s " "Fix this by removing the %sannotation of %s "
"or drop the export.\n", "or drop the export.\n",
tosym, sec2annotation(tosec), sec2annotation(tosec), tosym); tosym, sec2annotation(tosec), sec2annotation(tosec), tosym);
case NO_MISMATCH:
/* To get warnings on missing members */
break; break;
} }
fprintf(stderr, "\n"); fprintf(stderr, "\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment