[media] s5h1420: Unused variable clock_setting
authorPeter Senna Tschudin <peter.senna@gmail.com>
Thu, 14 Jun 2012 16:58:16 +0000 (13:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Jun 2012 21:01:54 +0000 (18:01 -0300)
commit3f7c0a69ab1181a0f5e4ead5d4b270d404c6465c
tree266e02f68825068bf8da182b2c35009a282f4433
parent59f6a93fae656409042c8a55e8b9088893c40378
[media] s5h1420: Unused variable clock_setting

The switch/case was setting clock_setting that is not being used. Both switch/case and the variable definition were removed.

Currently clock is being calculated by the formula:
(state->fclk/1000000 - 8)

Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1420.c