mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (9904): v4l: fix compile warning.
Fix (bogus) compile warning about uninitialized variable. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
9768352ac1
commit
69373f6a9c
|
@ -453,7 +453,7 @@ static int sh_mobile_ceu_try_bus_param(struct soc_camera_device *icd,
|
||||||
static int sh_mobile_ceu_set_fmt(struct soc_camera_device *icd,
|
static int sh_mobile_ceu_set_fmt(struct soc_camera_device *icd,
|
||||||
__u32 pixfmt, struct v4l2_rect *rect)
|
__u32 pixfmt, struct v4l2_rect *rect)
|
||||||
{
|
{
|
||||||
const struct soc_camera_data_format *cam_fmt;
|
const struct soc_camera_data_format *cam_fmt = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue