summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-04 02:13:59 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-04 02:18:08 +0400
commita16ae7d5bcc79fb4b882a611815fad05f818bfb4 (patch)
tree4b26104640fc7d4072717e2178437f165ceb4f37
parentc56019fc40c5b7a7b3aa7be7f17c6b993cd853b5 (diff)
downloadlinux-a16ae7d5bcc79fb4b882a611815fad05f818bfb4.tar.xz
[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>
-rw-r--r--drivers/media/dvb-frontends/sp8870.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/sp8870.c b/drivers/media/dvb-frontends/sp8870.c
index 2aa8ef76eba2..57dc2abaa87b 100644
--- a/drivers/media/dvb-frontends/sp8870.c
+++ b/drivers/media/dvb-frontends/sp8870.c
@@ -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;