summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-audio.c
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <elezegarcia@gmail.com>2012-06-12 14:53:42 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-10 22:04:59 +0200
commit1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83 (patch)
treed55e5c903eea7b23a8770d907f26c61ee91f2353 /drivers/media/video/em28xx/em28xx-audio.c
parent[media] mantis: Terratec Cinergy C PCI HD (CI) (diff)
downloadlinux-1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83.tar.xz
linux-1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83.zip
[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>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-audio.c')
-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: