diff options
author | Dongliang Mu <dzm91@hust.edu.cn> | 2023-03-06 05:45:23 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-03-16 22:51:02 +0300 |
commit | cbffe6b3b2bdf6064135f715242feb2f9094190f (patch) | |
tree | 4bf6498ee4fcc93332a26c01b746c71fa4a4f13e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ff0cf7bca63092786d640820a18f3e746b02e172 (diff) | |
download | linux-cbffe6b3b2bdf6064135f715242feb2f9094190f.tar.xz |
i2c: davinci: remove dead code in probe
From the comment of platform_get_irq, it only returns non-zero IRQ
number and negative error number, other than zero.
Fix this by removing the if condition.
Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions