diff options
| author | Yu Liao <liaoyu15@huawei.com> | 2023-08-22 10:14:55 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-23 18:57:30 -0700 |
| commit | 664c84c26d7a77d4b19813831466d67253f2326e (patch) | |
| tree | 010919ddc60c75ef97f39ad19bc6af1d49f49d51 /tools/perf/scripts/python/stackcollapse.py | |
| parent | bnxt: use the NAPI skb allocation cache (diff) | |
| download | linux-664c84c26d7a77d4b19813831466d67253f2326e.tar.gz linux-664c84c26d7a77d4b19813831466d67253f2326e.zip | |
net: dm9051: Use PTR_ERR_OR_ZERO() to simplify code
Use the standard error pointer macro to shorten the code and simplify.
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Link: https://lore.kernel.org/r/20230822021455.205101-2-liaoyu15@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
