diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2022-12-11 00:05:59 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-01-30 15:55:27 +0100 |
commit | b1453d1eb93fd34848082fd181ff247f19c0ee86 (patch) | |
tree | 456fdefc354c96817ff8484516158f2e5f96ca21 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 29f5c6e69f6198219c966acc91f99eb7f2669d61 (diff) |
gpio: pca953x: avoid logically dead code
The current code logic make the condition "else if (reg >= 0x54)"
can't be true, cause the dead code. So fix it to match the coder
expectation. This is reported by Coverity.
Fixes: 13c5d4ce8060 ("gpio: pca953x: Add support for PCAL6534")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions