mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
[media] sp8870: fix bad alignments
As reported by cocinelle: drivers/media/dvb-frontends/sp8870.c:395:2-14: code aligned with following code on line 397 Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
c56019fc40
commit
a16ae7d5bc
@ -394,8 +394,7 @@ static int sp8870_read_ber (struct dvb_frontend* fe, u32 * ber)
|
||||
if (ret < 0)
|
||||
return -EIO;
|
||||
|
||||
tmp = ret << 6;
|
||||
|
||||
tmp = ret << 6;
|
||||
if (tmp >= 0x3FFF0)
|
||||
tmp = ~0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user