diff options
author | Aya Levin <[email protected]> | 2019-06-24 19:34:42 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2019-08-01 12:33:32 -0700 |
commit | baf6dfdb10e9695637d72429159fd26fc36d30c3 (patch) | |
tree | 7ed36a52ba9c0808becefa32f8d1a5884ce29ee3 /tools/perf/scripts/python | |
parent | 7f7cc235c2dfc2a9208a743492b80d6cdfee50a6 (diff) |
net/mlx5e: Set tx reporter only on successful creation
When failing to create tx reporter, don't set the reporter's pointer.
Creating a reporter is not mandatory for driver load, avoid
garbage/error pointer.
Signed-off-by: Aya Levin <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions