diff options
author | Gal Pressman <gal@nvidia.com> | 2023-01-19 14:09:00 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-02-07 16:29:54 -0800 |
commit | afae6254c5ea710cdc0f6d0a16acbf55cbda3bfb (patch) | |
tree | d2c3d62e8f524f7f35937486f2e51fc5c62f6780 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2e762e65998e47096cf06177a6dffc096616a39c (diff) |
net/mlx5e: Remove incorrect debugfs_create_dir NULL check in hairpin
Remove the NULL check on debugfs_create_dir() return value as the
function returns an ERR pointer on failure, not NULL.
The check is not replaced with a IS_ERR_OR_NULL() as
debugfs_create_file(), and debugfs functions in general don't need error
checking.
Fixes: 0e414518d6d8 ("net/mlx5e: Add hairpin debugfs files")
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions