aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <[email protected]>2020-11-21 19:22:25 -0800
committerSantosh Shilimkar <[email protected]>2020-11-21 19:22:25 -0800
commit8465c7d1001a86e87f03124dc4a35760e731af62 (patch)
tree71ac114455e89b34a1fc1b6514ed31ceb863fd3a /tools/perf/scripts/python/export-to-sqlite.py
parente83b2358ab7ef0d39563b4e66233b356f99b7e77 (diff)
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 <[email protected]> Signed-off-by: Grzegorz Jaszczyk <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions