summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <elezegarcia@gmail.com>2012-06-12 09:53:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-10 17:04:59 -0300
commit1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83 (patch)
treed55e5c903eea7b23a8770d907f26c61ee91f2353 /drivers/media/video
parent9fa4d6a102ebb06663a03554b57fb93ad618b72e (diff)
downloadop-kernel-dev-1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83.zip
op-kernel-dev-1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83.tar.gz
[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')
-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 07dc594..2fdb66e 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:
OpenPOWER on IntegriCloud