diff options
author | 2020-11-21 19:22:25 -0800 | |
---|---|---|
committer | 2020-11-21 19:22:25 -0800 | |
commit | 8465c7d1001a86e87f03124dc4a35760e731af62 (patch) | |
tree | 71ac114455e89b34a1fc1b6514ed31ceb863fd3a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: ti: Kconfig: Drop ARM64 SoC specific configs (diff) | |
download | wireguard-linux-8465c7d1001a86e87f03124dc4a35760e731af62.tar.xz wireguard-linux-8465c7d1001a86e87f03124dc4a35760e731af62.zip |
soc: ti: pruss: Remove wrong check against *get_match_data return value
Since the of_device_get_match_data() doesn't return error code, remove
wrong IS_ERR test. Proper check against NULL pointer is already done
later before usage: if (data && data->...).
Additionally, proceeding with empty device data is valid (e.g. in case
of "ti,am3356-pruss").
Reported-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions