diff options
author | 2018-04-10 16:33:20 -0700 | |
---|---|---|
committer | 2018-04-11 10:28:35 -0700 | |
commit | 2a9f9d851c602b6ef0d0a52fb1996772edf218cb (patch) | |
tree | 4a1043a371836311629bc80af99b5a229e1b3983 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | checkpatch: add Crypto ON_STACK to declaration_macros (diff) | |
download | wireguard-linux-2a9f9d851c602b6ef0d0a52fb1996772edf218cb.tar.xz wireguard-linux-2a9f9d851c602b6ef0d0a52fb1996772edf218cb.zip |
checkpatch: add sub routine get_stat_real()
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_real()
Link: http://lkml.kernel.org/r/1519700648-23108-2-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions