diff options
| author | Jiong Wang <[email protected]> | 2019-04-12 21:59:37 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-04-13 00:06:33 +0000 |
| commit | c342dc109aa5a4f0bb36335cb441aaafc98b98ef (patch) | |
| tree | e9a038688270daccc0271ba1bc93b7e745863037 /tools/bpf/bpftool/prog.c | |
| parent | bpf: factor out reg and stack slot propagation into "propagate_liveness_reg" (diff) | |
| download | kernel-c342dc109aa5a4f0bb36335cb441aaafc98b98ef.tar.gz kernel-c342dc109aa5a4f0bb36335cb441aaafc98b98ef.zip | |
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 <[email protected]>
Signed-off-by: Jiong Wang <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
