summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-08-25 15:17:39 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 19:43:59 +0200
commit4c04b7a1ada742aace5023aca57e537bf75b59ff (patch)
tree32592eafb983faefef68af014c9177b16ffca2f4 /drivers/media/dvb/dvb-usb
parent[media] mxl5005s: fix compiler warning (diff)
downloadlinux-4c04b7a1ada742aace5023aca57e537bf75b59ff.tar.xz
linux-4c04b7a1ada742aace5023aca57e537bf75b59ff.zip
[media] af9005-fe: fix compiler warning
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-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 6ad94745bbdd..3263e9749d09 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,
u16 reglo, u8 pos, u8 len, u16 value)
{
int ret;
- u8 temp;
if ((ret = af9005_write_ofdm_register(d, reglo, (u8) (value & 0xff))))
return ret;
- temp = (u8) ((value & 0x0300) >> 8);
return af9005_write_register_bits(d, reghi, pos, len,
(u8) ((value & 0x300) >> 8));
}