]> Git Repo - linux.git/commit
tools: bpftool: remove unnecessary 'if' to reduce indentation
authorJiong Wang <[email protected]>
Fri, 2 Mar 2018 02:01:16 +0000 (18:01 -0800)
committerAlexei Starovoitov <[email protected]>
Fri, 2 Mar 2018 02:29:48 +0000 (18:29 -0800)
commit3197239d24dcecef1dbc260733b377ade731b748
tree7c21cb31ba8a57160bbb32c7cd488298353ce102
parentc8745e07d5d676b2cb49f90baec1ac5e66cb7383
tools: bpftool: remove unnecessary 'if' to reduce indentation

It is obvious we could use 'else if' instead of start a new 'if' in the
touched code.

Signed-off-by: Jiong Wang <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
tools/bpf/bpftool/prog.c
This page took 0.056964 seconds and 4 git commands to generate.