Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 401e5f8d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB: em28xx: fix a compilation warning



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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 361ae54f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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: