[media] em28xx: Remove useless runtime->private_data usage
authorEzequiel García <elezegarcia@gmail.com>
Tue, 12 Jun 2012 12:53:42 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 10 Aug 2012 20:04:59 +0000 (17:04 -0300)
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-audio.c

index 07dc594..2fdb66e 100644 (file)
@@ -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: