diff options
author | Shaobo He <shaobo@cs.utah.edu> | 2019-02-28 17:54:06 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-19 13:49:19 -0400 |
commit | 2c2a8dc32cebb71e42cfc2ed1bd433cbec792207 (patch) | |
tree | fbb6ae612471441d88a63a1a2d88f97dbdaeb3fa /drivers/media/platform/stm32/stm32-dcmi.c | |
parent | dea37a97265588da604c6ba80160a287b72c7bfd (diff) |
media: platform/sh_veu.c: remove redundant NULL pointer checks
Function `sh_veu_find_fmt` returns an address that is an addition of a
base pointer `sh_veu_fmt` and an offset. The base pointer refers to a
global variable of which address cannot be NULL. Therefore, this commit
removes the NULL pointer checks on the return values of function
`sh_veu_find_fmt`.
Signed-off-by: Shaobo He <shaobo@cs.utah.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/stm32/stm32-dcmi.c')
0 files changed, 0 insertions, 0 deletions