diff options
author | Ezequiel GarcĂa <elezegarcia@gmail.com> | 2012-06-12 08:53:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-10 16:04:59 -0400 |
commit | 1240ad56edfdd9ccc70d9cbce6da7d5d939d5e83 (patch) | |
tree | d55e5c903eea7b23a8770d907f26c61ee91f2353 /drivers/media/video/em28xx/em28xx-audio.c | |
parent | 9fa4d6a102ebb06663a03554b57fb93ad618b72e (diff) |
[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.c | 1 |
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) | |||
306 | 306 | ||
307 | snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); | 307 | snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); |
308 | dev->adev.capture_pcm_substream = substream; | 308 | dev->adev.capture_pcm_substream = substream; |
309 | runtime->private_data = dev; | ||
310 | 309 | ||
311 | return 0; | 310 | return 0; |
312 | err: | 311 | err: |