diff options
author | 2012-01-10 15:10:01 -0800 | |
---|---|---|
committer | 2012-01-10 16:30:50 -0800 | |
commit | 3e469cdc08ac5d84b220f8fb76a090d158d5114f (patch) | |
tree | fc35a9ca8593ddd2bf0e07ceb2f39e83ff06ff4c /crypto/api.c | |
parent | checkpatch: ## is not a valid modifier (diff) | |
download | wireguard-linux-3e469cdc08ac5d84b220f8fb76a090d158d5114f.tar.xz wireguard-linux-3e469cdc08ac5d84b220f8fb76a090d158d5114f.zip |
checkpatch: optimise statement scanner when mid-statement
In the middle of a long definition or similar, there is no possibility of
finding a smaller sub-statement. Optimise this case by skipping statement
aquirey where there are no starts of statement (open brace '{' or
semi-colon ';'). We are likely to scan slightly more than needed still
but this is safest.
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions