modpost: remove now unused NO_MISMATCH constant
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 30 Jan 2010 15:57:48 +0000 (16:57 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 30 Jan 2010 16:23:34 +0000 (17:23 +0100)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
scripts/mod/modpost.c

index 3f0380b8d8f787cd0def08de9d0b9c7807ae8c54..a94bd10ad2deea1574b0198eb6085c2787a96c69 100644 (file)
@@ -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,
@@ -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");