diff options
author | 2021-01-25 09:46:03 +0100 | |
---|---|---|
committer | 2021-02-06 08:38:29 +0100 | |
commit | 38a50230292f232852f4e648d5e0a1cfaf37081b (patch) | |
tree | 8fa81e0c6b9a907a2e2255f168f9eb894820c0cd /.mailmap | |
parent | media: i2c: max9286: fix access to unallocated memory (diff) | |
download | linux-38a50230292f232852f4e648d5e0a1cfaf37081b.tar.gz linux-38a50230292f232852f4e648d5e0a1cfaf37081b.tar.bz2 linux-38a50230292f232852f4e648d5e0a1cfaf37081b.zip |
media: i2c: ov5648: remove unnecessary NULL check
The "mode_index == ARRAY_SIZE(ov5648_modes)" check ensures that we
exited the loop via a break statement so we know that "mode" must
be valid. Delete this unnecessary NULL check.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions