summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <elezegarcia@gmail.com>2012-06-12 16:53:42 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-11 00:04:59 +0400
commit1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83 (patch)
treed55e5c903eea7b23a8770d907f26c61ee91f2353
parent9fa4d6a102ebb06663a03554b57fb93ad618b72e (diff)
downloadlinux-1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83.tar.xz
[media] em28xx: Remove useless runtime->private_data usage
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/em28xx/em28xx-audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c
index 07dc594e79f0..2fdb66ee44ab 100644
--- a/drivers/media/video/em28xx/em28xx-audio.c
+++ b/drivers/media/video/em28xx/em28xx-audio.c
@@ -306,7 +306,6 @@ static int snd_em28xx_capture_open(struct snd_pcm_substream *substream)
snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
dev->adev.capture_pcm_substream = substream;
- runtime->private_data = dev;
return 0;
err: