summaryrefslogtreecommitdiff
path: root/scripts/recordmcount.pl
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2018-04-11 02:33:20 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 20:28:35 +0300
commit2a9f9d851c602b6ef0d0a52fb1996772edf218cb (patch)
tree4a1043a371836311629bc80af99b5a229e1b3983 /scripts/recordmcount.pl
parent3d102fc0e7b02d4e16752c15aa92923405b01388 (diff)
downloadlinux-2a9f9d851c602b6ef0d0a52fb1996772edf218cb.tar.xz
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 'scripts/recordmcount.pl')
0 files changed, 0 insertions, 0 deletions