diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-10-26 13:34:33 +0800 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-11-17 23:52:39 +0100 |
commit | 198d4649b0b813bc9fc1605cfb843b6624518f92 (patch) | |
tree | 74d039939aecff7ea886ce1d444f9491eb13798e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b204b92be30621a6ca99097155a8997e323c66e7 (diff) |
firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname()
There is no need to call the dev_err() function directly to print a
custom message when handling an error from either the platform_get_irq()
or platform_get_irq_byname() functions as both are going to display an
appropriate error message in case of a failure.
./drivers/firmware/tegra/bpmp-tegra210.c:204:2-9: line 204 is redundant
because platform_get_irq() already prints an error
./drivers/firmware/tegra/bpmp-tegra210.c:216:2-9: line 216 is redundant
because platform_get_irq() already prints an error
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2579
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions