[media] iguanair: simplify calculation of carrier delay cycles
authorSean Young <sean@mess.org>
Sun, 3 Nov 2013 22:13:57 +0000 (19:13 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 7 Nov 2013 17:04:12 +0000 (15:04 -0200)
commit9bd766b79a80159338c10f8cec4c1f7ed0fe4a4e
tree475be25a4b5ce68d54c672bf397eb764e136760c
parent5f27ca418bedd0342942eca61a12f76d73d95962
[media] iguanair: simplify calculation of carrier delay cycles

Simplify the logic that calculates the carrier, and removes a warning
on avr32 arch:
        drivers/media/rc/iguanair.c: In function 'iguanair_set_tx_carrier':
        drivers/media/rc/iguanair.c:304: warning: 'sevens' may be used uninitialized in this function

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/iguanair.c