]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] em28xx: remove some unnecessary fields from struct em28xx_audio_mode
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sat, 13 Sep 2014 08:52:19 +0000 (05:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 19:13:41 +0000 (16:13 -0300)
commit60a24ba03c5dcd51a754cb45e7d65753126f58ce
treeab57898a61348ffe07bfbe8314e578ba0853cd87
parent072f1a489efa348223db07730c4b946a4b1ca0cc
[media] em28xx: remove some unnecessary fields from struct em28xx_audio_mode

Fields "ac97_feat", "ac97_vendor_id" and "i2s_samplerates" of struct
em28xx_audio_mode are used nowhere, except in function
em28xx_audio_setup(). So get rid of them and use local variables
instead.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/em28xx/em28xx-core.c
drivers/media/usb/em28xx/em28xx.h