aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-07-31 15:38:58 +0800
committerJakub Kicinski <[email protected]>2023-08-02 12:06:23 -0700
commitae1d60c41e581be049aa84dd53aca89027101ce1 (patch)
treed4005b359c0b6b1116ff8cf8aed332b229a89223 /tools/perf/scripts/python/bin/stackcollapse-report
parent34093c9fa05df24558d1e2c5d32f7f93b2c97ee9 (diff)
net: hisilicon: fix the return value handle and remove redundant netdev_err() for platform_get_irq()
There is no possible for platform_get_irq() to return 0 and the return value of platform_get_irq() is more sensible to show the error reason. And there is no need to call the netdev_err() function directly to print a custom message when handling an error from platform_get_irq() function as it is going to display an appropriate error message in case of a failure. Signed-off-by: Ruan Jinjie <[email protected]> Reviewed-by: Jesse Brandeburg <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions