Skip to content

Commit

Permalink
modpost: remove now unused NO_MISMATCH constant
Browse files Browse the repository at this point in the history
Signed-off-by: Uwe Kleine-König <[email protected]>
  • Loading branch information
Uwe Kleine-König committed Jan 30, 2010
1 parent 0d2a636 commit fc2f7ef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,6 @@ static const char *linker_symbols[] =
{ "__init_begin", "_sinittext", "_einittext", NULL };

enum mismatch {
NO_MISMATCH,
TEXT_TO_ANY_INIT,
DATA_TO_ANY_INIT,
TEXT_TO_ANY_EXIT,
Expand Down Expand Up @@ -1280,8 +1279,6 @@ static void report_sec_mismatch(const char *modname,
"Fix this by removing the %sannotation of %s "
"or drop the export.\n",
tosym, sec2annotation(tosec), sec2annotation(tosec), tosym);
case NO_MISMATCH:
/* To get warnings on missing members */
break;
}
fprintf(stderr, "\n");
Expand Down

0 comments on commit fc2f7ef

Please sign in to comment.