diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 11:34:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 11:42:28 +0200 |
commit | f7887f741e55940969603e12e4424381ec7ee16e (patch) | |
tree | 70f56780d82d468760d5cf9c142503b707f8bca3 /drivers/staging/most | |
parent | 4f566194cec37d5abe0a18f9d9bb013b4bc3496b (diff) | |
download | blackbird-op-linux-f7887f741e55940969603e12e4424381ec7ee16e.tar.gz blackbird-op-linux-f7887f741e55940969603e12e4424381ec7ee16e.zip |
staging: most: video: fix build warnings
Commit 7d7cdb4fa552 ("staging: most: video: remove debugging code") ended up
adding a bunch of build warnings about unused variables. Fix that up by
removing those variables as we don't need them anymore.
Cc: Abdun Nihaal <abdun.nihaal@gmail.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 7d7cdb4fa552 ("staging: most: video: remove debugging code")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r-- | drivers/staging/most/video/video.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/most/video/video.c b/drivers/staging/most/video/video.c index fc374711fcc0..cf342eb58e10 100644 --- a/drivers/staging/most/video/video.c +++ b/drivers/staging/most/video/video.c @@ -261,9 +261,6 @@ static int vidioc_querycap(struct file *file, void *priv, static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *f) { - struct comp_fh *fh = priv; - struct most_video_dev *mdev = fh->mdev; - if (f->index) return -EINVAL; @@ -278,9 +275,6 @@ static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv, static int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) { - struct comp_fh *fh = priv; - struct most_video_dev *mdev = fh->mdev; - comp_set_format_struct(f); return 0; } @@ -305,9 +299,6 @@ static int vidioc_s_fmt_vid_cap(struct file *file, void *priv, static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm) { - struct comp_fh *fh = priv; - struct most_video_dev *mdev = fh->mdev; - *norm = V4L2_STD_UNKNOWN; return 0; } |