diff options
| author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-11-21 17:57:28 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-11-23 23:06:38 +0300 |
| commit | fe9ef3ce395d06e4f17e5995ab8455b9627f3306 (patch) | |
| tree | e76b51d53a559afc69fe20e66fc4697041c3d4db /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7ef8f65df976369588fa1b6466668b1b6a26eb3c (diff) | |
| download | linux-fe9ef3ce395d06e4f17e5995ab8455b9627f3306.tar.xz | |
net: ipmr: make ip_mroute_getsockopt more understandable
Use a switch to determine if optname is correct and set val accordingly.
This produces a much more straight-forward and readable code.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
