]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] stv0367: Remove an unused parameter
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Sep 2014 20:36:53 +0000 (17:36 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Sep 2014 20:36:53 +0000 (17:36 -0300)
commit886da6ac33ac7e82392f1bc8b7b25b058710a269
treec07582ed5bc0bf486db11eda705036bf521585e8
parenteafeda9666f634abc1b133ee4b578708269d99ab
[media] stv0367: Remove an unused parameter

cab_state->modulation is initialized with a wrong value:

drivers/media/dvb-frontends/stv0367.c:3000:42: warning: mixing different enum types
drivers/media/dvb-frontends/stv0367.c:3000:42:     int enum fe_modulation  versus
drivers/media/dvb-frontends/stv0367.c:3000:42:     int enum stv0367cab_mod

as it was declared as "enum stv0367cab_mod". While it could be fixed,
there's no value on it, as this is never used.

So, just remove the modulation from cab_state structure.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/stv0367.c