aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2018-09-04 21:53:51 +0200
committerDavid S. Miller <[email protected]>2018-09-05 22:27:11 -0700
commit87ccbb1f943625884b824c5560f635dcea8e4510 (patch)
tree90e6dc1b7e7dfacd0970a32400deada16b3bdce4 /tools/perf/scripts/python
parent6ecf4c37eb3e89b0832c9616089a5cdca3747da7 (diff)
rtnetlink: move type calculation out of loop
I don't see how the type - which is one of RTM_{GETADDR,GETROUTE,GETNETCONF} - can change. So do the message type calculation once before entering the for loop. Signed-off-by: Christian Brauner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions