diff options
| author | Dan Carpenter <[email protected]> | 2021-01-25 08:46:03 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-02-06 07:38:29 +0000 |
| commit | 38a50230292f232852f4e648d5e0a1cfaf37081b (patch) | |
| tree | 8fa81e0c6b9a907a2e2255f168f9eb894820c0cd /drivers/media/v4l2-core/v4l2-async.c | |
| parent | media: i2c: max9286: fix access to unallocated memory (diff) | |
| download | kernel-38a50230292f232852f4e648d5e0a1cfaf37081b.tar.gz kernel-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 <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
