OSDN Git Service

[media] sp8870: fix bad alignments
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 22:13:59 +0000 (19:13 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 22:18:08 +0000 (19:18 -0300)
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>
drivers/media/dvb-frontends/sp8870.c

index 2aa8ef7..57dc2ab 100644 (file)
@@ -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;