Skip to content

Commit fc2f7ef

Browse files
author
Uwe Kleine-König
committed
modpost: remove now unused NO_MISMATCH constant
Signed-off-by: Uwe Kleine-König <[email protected]>
1 parent 0d2a636 commit fc2f7ef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/mod/modpost.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,6 @@ static const char *linker_symbols[] =
835835
{ "__init_begin", "_sinittext", "_einittext", NULL };
836836

837837
enum mismatch {
838-
NO_MISMATCH,
839838
TEXT_TO_ANY_INIT,
840839
DATA_TO_ANY_INIT,
841840
TEXT_TO_ANY_EXIT,
@@ -1280,8 +1279,6 @@ static void report_sec_mismatch(const char *modname,
12801279
"Fix this by removing the %sannotation of %s "
12811280
"or drop the export.\n",
12821281
tosym, sec2annotation(tosec), sec2annotation(tosec), tosym);
1283-
case NO_MISMATCH:
1284-
/* To get warnings on missing members */
12851282
break;
12861283
}
12871284
fprintf(stderr, "\n");

0 commit comments

Comments
 (0)