diff options
| author | Aya Levin <ayal@mellanox.com> | 2019-06-24 19:34:42 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-01 22:33:32 +0300 |
| commit | baf6dfdb10e9695637d72429159fd26fc36d30c3 (patch) | |
| tree | 7ed36a52ba9c0808becefa32f8d1a5884ce29ee3 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 7f7cc235c2dfc2a9208a743492b80d6cdfee50a6 (diff) | |
| download | linux-baf6dfdb10e9695637d72429159fd26fc36d30c3.tar.xz | |
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 <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
