From: Mauro Carvalho Chehab Date: Thu, 30 Sep 2010 11:41:49 +0000 (-0300) Subject: V4L/DVB: em28xx: fix a compilation warning X-Git-Tag: firefly_0821_release~7613^2~3587^2~337 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=401e5f8d38f539765cf550fa76b684d10975840c;p=firefly-linux-kernel-4.4.55.git 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: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 06cf19792504..908e3bc88303 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c @@ -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: