aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/af9005-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9005-fe.c')
-rw-r--r--drivers/media/dvb/dvb-usb/af9005-fe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9005-fe.c b/drivers/media/dvb/dvb-usb/af9005-fe.c
index 6ad94745bbd..3263e9749d0 100644
--- a/drivers/media/dvb/dvb-usb/af9005-fe.c
+++ b/drivers/media/dvb/dvb-usb/af9005-fe.c
@@ -63,11 +63,9 @@ static int af9005_write_word_agc(struct dvb_usb_device *d, u16 reghi,
63 u16 reglo, u8 pos, u8 len, u16 value) 63 u16 reglo, u8 pos, u8 len, u16 value)
64{ 64{
65 int ret; 65 int ret;
66 u8 temp;
67 66
68 if ((ret = af9005_write_ofdm_register(d, reglo, (u8) (value & 0xff)))) 67 if ((ret = af9005_write_ofdm_register(d, reglo, (u8) (value & 0xff))))
69 return ret; 68 return ret;
70 temp = (u8) ((value & 0x0300) >> 8);
71 return af9005_write_register_bits(d, reghi, pos, len, 69 return af9005_write_register_bits(d, reghi, pos, len,
72 (u8) ((value & 0x300) >> 8)); 70 (u8) ((value & 0x300) >> 8));
73} 71}