diff options
author | YueHaibing <[email protected]> | 2020-11-12 22:58:52 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-12 10:11:12 -0800 |
commit | 95530a59db3d4b41cf554b3bd150935eb46a44fd (patch) | |
tree | c126b14dafe385d0834bb4da03e49ec9670272d0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 34b93f19c92ca7720efe25e852d480bb13101dec (diff) |
nfp: Fix passing zero to 'PTR_ERR'
nfp_cpp_from_nfp6000_pcie() returns ERR_PTR() and never returns
NULL. The NULL test should be removed, also return correct err.
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions