summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-30 16:57:48 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-30 17:23:34 +0100
commitfc2f7efadb755b020ad8fdf195515dacaf185e2d (patch)
tree980f4ee4dcf3a4263be4f75ba8b2d64c92e21eb9 /scripts
parent0d2a636ee6c3b8c292fbaae05976fe1537b70958 (diff)
downloadop-kernel-dev-fc2f7efadb755b020ad8fdf195515dacaf185e2d.zip
op-kernel-dev-fc2f7efadb755b020ad8fdf195515dacaf185e2d.tar.gz
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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 3f0380b..a94bd10 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -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");
OpenPOWER on IntegriCloud