checkpatch: warn on unnecessary line continuations
authorJoe Perches <joe@perches.com>
Tue, 18 Dec 2012 00:01:47 +0000 (16:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:18 +0000 (17:15 -0800)
commit5023d3472d444747bfa12e9798d7993e7efb8287
tree384454623fc76da468021e0d58846debec536014
parent0ad50c3896afbb3c103409a18260e601b87a744c
checkpatch: warn on unnecessary line continuations

When the previous line is not a line continuation and the current line has
a line continuation but is not a #define, emit a warning.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: 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