checkpatch: do not report nr_static as a static declaration
authorAndy Whitcroft <apw@canonical.com>
Tue, 6 Jan 2009 22:41:28 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:17 +0000 (15:59 -0800)
commit2d1bafd799ee0442979e6ce4145d58b69d3cade2
tree83002f1bac78f652032aa00d81233fe75cbac175
parent4635f4fbaf51555509c747eed02a7e7a580ae1e1
checkpatch: do not report nr_static as a static declaration

Ensure we do not report identifiers containing the word static as static
declarations.  For example this should not be reported as an unecessary
assignement of 0:

long nr_static = 0;

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl