diff options
author | Yair Shapira <[email protected]> | 2012-07-11 18:48:07 +0300 |
---|---|---|
committer | Luciano Coelho <[email protected]> | 2012-07-18 15:08:22 +0300 |
commit | bf722d1defc3020e9382106045f24c2978407e55 (patch) | |
tree | 3ef70ddc612b7ea9fa1fc931a2f3a0cdef9d5776 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | ff324317e6133ed4a88380eb675a93c76a9e0d5e (diff) |
wlcore: make usage of nla_put clearer
handle errors of nla_put() inside the if(nla_put...) {}
This makes the code simpler and clearer because:
we take advantage from the fact that we have only one nla_put
in our routines (so no real need for goto label).
this avoids ugly goto forward followed by goto backward.
Signed-off-by: Yair Shapira <[email protected]>
Signed-off-by: Luciano Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions