Gitweb: http://git.kernel.org/linus/485e319adef5d33a1dca4320cb26fb387b4a9381 Commit: 485e319adef5d33a1dca4320cb26fb387b4a9381 Parent: 5eb9978f47ec09ce7ab5b9cc86d7b5d6ebb28a9d Author: Devin Heitmueller <dheitmueller@kernellabs.com> AuthorDate: Sun Nov 22 23:42:33 2009 -0300 Committer: Mauro Carvalho Chehab <mchehab@redhat.com> CommitDate: Fri Feb 26 15:10:44 2010 -0300 V4L/DVB: cx18-alsa: remove a couple of warnings Remove a couple of warnings from dead code during driver development. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> --- drivers/media/video/cx18/cx18-alsa-main.c | 1 - drivers/media/video/cx18/cx18-alsa-pcm.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/cx18/cx18-alsa-main.c b/drivers/media/video/cx18/cx18-alsa-main.c index 9b652a1..2b72f42 100644 --- a/drivers/media/video/cx18/cx18-alsa-main.c +++ b/drivers/media/video/cx18/cx18-alsa-main.c @@ -255,7 +255,6 @@ static int cx18_alsa_exit_callback(struct device *dev, void *data) { struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); struct snd_cx18_card *cxsc; - struct cx18 *cx; if (v4l2_dev == NULL) { printk(KERN_ERR "cx18-alsa: %s: struct v4l2_device * is NULL\n", diff --git a/drivers/media/video/cx18/cx18-alsa-pcm.c b/drivers/media/video/cx18/cx18-alsa-pcm.c index ec5851c..05cb8f1 100644 --- a/drivers/media/video/cx18/cx18-alsa-pcm.c +++ b/drivers/media/video/cx18/cx18-alsa-pcm.c @@ -75,7 +75,6 @@ static int snd_cx18_pcm_capture_open(struct snd_pcm_substream *substream) struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); struct snd_pcm_runtime *runtime = substream->runtime; struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; - struct snd_card *sc = cxsc->sc; struct cx18 *cx = to_cx18(v4l2_dev); struct cx18_stream *s; struct cx18_open_id *item; -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
