aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r--scripts/mod/modpost.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 3f0380b8d8f7..a94bd10ad2de 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -835,7 +835,6 @@ static const char *linker_symbols[] =
835 { "__init_begin", "_sinittext", "_einittext", NULL }; 835 { "__init_begin", "_sinittext", "_einittext", NULL };
836 836
837enum mismatch { 837enum mismatch {
838 NO_MISMATCH,
839 TEXT_TO_ANY_INIT, 838 TEXT_TO_ANY_INIT,
840 DATA_TO_ANY_INIT, 839 DATA_TO_ANY_INIT,
841 TEXT_TO_ANY_EXIT, 840 TEXT_TO_ANY_EXIT,
@@ -1280,8 +1279,6 @@ static void report_sec_mismatch(const char *modname,
1280 "Fix this by removing the %sannotation of %s " 1279 "Fix this by removing the %sannotation of %s "
1281 "or drop the export.\n", 1280 "or drop the export.\n",
1282 tosym, sec2annotation(tosec), sec2annotation(tosec), tosym); 1281 tosym, sec2annotation(tosec), sec2annotation(tosec), tosym);
1283 case NO_MISMATCH:
1284 /* To get warnings on missing members */
1285 break; 1282 break;
1286 } 1283 }
1287 fprintf(stderr, "\n"); 1284 fprintf(stderr, "\n");