diff options
author | Tobin C. Harding <me@tobin.cc> | 2018-04-10 16:33:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-11 10:28:36 -0700 |
commit | e3d95a2a05afd6b51ade4686291b0ed8581dd5e5 (patch) | |
tree | 5a0cb3cc7c0de0c2ab569482f0924420532d28ad /scripts/package | |
parent | c2066ca350b32f1d3d69743c59099c6f91f7a559 (diff) | |
download | linux-e3d95a2a05afd6b51ade4686291b0ed8581dd5e5.tar.bz2 |
checkpatch: add sub routine get_stat_here()
checkpatch currently contains duplicate code. We can define a sub
routine and call that instead. This reduces code duplication and line
count.
Add subroutine get_stat_here().
Link: http://lkml.kernel.org/r/1519700648-23108-4-git-send-email-me@tobin.cc
Signed-off-by: Tobin C. Harding <me@tobin.cc>
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 'scripts/package')
0 files changed, 0 insertions, 0 deletions