diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2019-04-13 00:59:37 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-13 03:06:33 +0300 |
commit | c342dc109aa5a4f0bb36335cb441aaafc98b98ef (patch) | |
tree | e9a038688270daccc0271ba1bc93b7e745863037 /scripts | |
parent | 55e7f3b5ac94a8c9f2e35961a45e9aa526a9e41d (diff) | |
download | linux-c342dc109aa5a4f0bb36335cb441aaafc98b98ef.tar.xz |
bpf: refactor "check_reg_arg" to eliminate code redundancy
There are a few "regs[regno]" here are there across "check_reg_arg", this
patch factor it out into a simple "reg" pointer. The intention is to
simplify code indentation and make the later patches in this set look
cleaner.
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions