diff options
| author | Petr Machata <petrm@mellanox.com> | 2018-06-26 03:07:08 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-06-27 04:42:12 +0300 |
| commit | 1b86fa3bbacef0a8e9961257557801ab1b5bef78 (patch) | |
| tree | 46a0fa46a499a889c97ed225135a74b98e23342d /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | b2c478723c7f8fa78d4fbdb9d7de4191249b92e0 (diff) | |
| download | linux-1b86fa3bbacef0a8e9961257557801ab1b5bef78.tar.xz | |
selftests: forwarding: multipath_eval(): Improve style
- Change the indentation of the function body from 7 spaces to one tab.
- Move initialization of weights_ratio up so that it can be referenced
from the error message about packet difference being zero.
- Move |'s consistently to continuation line, which reindent.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
