kbuild: fix buildcheck
From: Randy Dunlap <rddunlap@osdl.org>
I should not have added init.text test here;
it's more than useless, it actually degrades the output.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl
index 44b8722..f04f627 100644
--- a/scripts/reference_discarded.pl
+++ b/scripts/reference_discarded.pl
@@ -82,8 +82,6 @@
}
if (($line =~ /\.text\.exit$/ ||
$line =~ /\.exit\.text$/ ||
- $line =~ /\.text\.init$/ ||
- $line =~ /\.init\.text$/ ||
$line =~ /\.data\.exit$/ ||
$line =~ /\.exit\.data$/ ||
$line =~ /\.exitcall\.exit$/) &&