Skip to content

Commit

Permalink
V4L/DVB: em28xx: fix a compilation warning
Browse files Browse the repository at this point in the history
drivers/media/video/em28xx/em28xx-video.c: In function ‘vidioc_s_register’:
drivers/media/video/em28xx/em28xx-video.c:1617: warning: unused variable ‘rc’

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 361ae54 commit 401e5f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,6 @@ static int vidioc_s_register(struct file *file, void *priv,
struct em28xx_fh *fh = priv;
struct em28xx *dev = fh->dev;
__le16 buf;
int rc;

switch (reg->match.type) {
case V4L2_CHIP_MATCH_AC97:
Expand Down

0 comments on commit 401e5f8

Please sign in to comment.