diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-06-06 10:21:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-21 17:54:25 -0400 |
commit | e14b77c3db5c97c5ef67f508cc302571163dbbca (patch) | |
tree | 4b6cd010cf6c6c62285ccbcc1a0ed7f8491bd25d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4ace2d28aba594e234923f55f476e97c56f6689a (diff) |
media: ov9640: Don't check for NULL on devm_gpiod_get return values
devm_gpiod_get never returns NULL; therefore it's not necessary to check
for that. PTR_ERR(NULL) also yields zero, which is confusing to smatch.
Reported-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions