media: davinci_vpfe: vpfe_video: remove an unused var
as warned: drivers/staging/media/davinci_vpfe/vpfe_video.c: In function 'vpfe_streamon': drivers/staging/media/davinci_vpfe/vpfe_video.c:1471:31: warning: variable 'sdinfo' set but not used [-Wunused-but-set-variable] struct vpfe_ext_subdev_info *sdinfo; ^~~~~~ While here, cleanup this kernel-doc warning: drivers/staging/media/davinci_vpfe/vpfe_video.c:225: warning: Function parameter or member 'pipe' not described in 'vpfe_video_validate_pipeline' Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Родитель
9d52210aa2
Коммит
585940983e
|
@ -214,7 +214,7 @@ int vpfe_video_is_pipe_ready(struct vpfe_pipeline *pipe)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Validate a pipeline by checking both ends of all links for format
|
||||
* discrepancies.
|
||||
*
|
||||
|
@ -1468,7 +1468,6 @@ static int vpfe_streamon(struct file *file, void *priv,
|
|||
struct vpfe_device *vpfe_dev = video->vpfe_dev;
|
||||
struct vpfe_pipeline *pipe = &video->pipe;
|
||||
struct vpfe_fh *fh = file->private_data;
|
||||
struct vpfe_ext_subdev_info *sdinfo;
|
||||
int ret = -EINVAL;
|
||||
|
||||
v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_streamon\n");
|
||||
|
@ -1483,7 +1482,6 @@ static int vpfe_streamon(struct file *file, void *priv,
|
|||
v4l2_err(&vpfe_dev->v4l2_dev, "fh->io_allowed\n");
|
||||
return -EACCES;
|
||||
}
|
||||
sdinfo = video->current_ext_subdev;
|
||||
/* If buffer queue is empty, return error */
|
||||
if (list_empty(&video->buffer_queue.queued_list)) {
|
||||
v4l2_err(&vpfe_dev->v4l2_dev, "buffer queue is empty\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче