Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1426035
| From | Ruslan Bilovol <ruslan.bilovol@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] checkpatch: remove obsolete CONFIG_EXPERIMENTAL checks |
| Date | 2016-06-19 22:50 +0200 |
| Message-ID | <rLRPj-7iI-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Config EXPERIMENTAL has been removed from kernel in 2013
(see 3d374d0: "final removal of CONFIG_EXPERIMENTAL"),
there is no any reason to do these checks now.
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
---
scripts/checkpatch.pl | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 4904ced..4ede92c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2670,13 +2670,6 @@ sub process {
#print "is_start<$is_start> is_end<$is_end> length<$length>\n";
}
-# discourage the addition of CONFIG_EXPERIMENTAL in Kconfig.
- if ($realfile =~ /Kconfig/ &&
- $line =~ /.\s*depends on\s+.*\bEXPERIMENTAL\b/) {
- WARN("CONFIG_EXPERIMENTAL",
- "Use of CONFIG_EXPERIMENTAL is deprecated. For alternatives, see https://lkml.org/lkml/2012/10/23/580\n");
- }
-
# discourage the use of boolean for type definition attributes of Kconfig options
if ($realfile =~ /Kconfig/ &&
$line =~ /^\+\s*\bboolean\b/) {
@@ -3042,12 +3035,6 @@ sub process {
}
}
-# discourage the addition of CONFIG_EXPERIMENTAL in #if(def).
- if ($line =~ /^\+\s*\#\s*if.*\bCONFIG_EXPERIMENTAL\b/) {
- WARN("CONFIG_EXPERIMENTAL",
- "Use of CONFIG_EXPERIMENTAL is deprecated. For alternatives, see https://lkml.org/lkml/2012/10/23/580\n");
- }
-
# check for RCS/CVS revision markers
if ($rawline =~ /^\+.*\$(Revision|Log|Id)(?:\$|)/) {
WARN("CVS_KEYWORD",
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] checkpatch: remove obsolete CONFIG_EXPERIMENTAL checks Ruslan Bilovol <ruslan.bilovol@gmail.com> - 2016-06-19 22:50 +0200
Re: [PATCH] checkpatch: remove obsolete CONFIG_EXPERIMENTAL checks Joe Perches <joe@perches.com> - 2016-06-20 03:40 +0200
Re: [PATCH] checkpatch: remove obsolete CONFIG_EXPERIMENTAL checks Ruslan Bilovol <ruslan.bilovol@gmail.com> - 2016-06-20 04:20 +0200
csiph-web