diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-30 10:57:48 -0500 |
|---|---|---|
| committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-30 11:23:34 -0500 |
| commit | fc2f7efadb755b020ad8fdf195515dacaf185e2d (patch) | |
| tree | 980f4ee4dcf3a4263be4f75ba8b2d64c92e21eb9 /scripts | |
| parent | 0d2a636ee6c3b8c292fbaae05976fe1537b70958 (diff) | |
modpost: remove now unused NO_MISMATCH constant
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mod/modpost.c | 3 |
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 | ||
| 837 | enum mismatch { | 837 | enum 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"); |
