summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/sp8870.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-04 00:13:59 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-04 00:18:08 +0200
commita16ae7d5bcc79fb4b882a611815fad05f818bfb4 (patch)
tree4b26104640fc7d4072717e2178437f165ceb4f37 /drivers/media/dvb-frontends/sp8870.c
parent[media] tuner-xc2028: fix bad alignments (diff)
downloadlinux-a16ae7d5bcc79fb4b882a611815fad05f818bfb4.tar.xz
linux-a16ae7d5bcc79fb4b882a611815fad05f818bfb4.zip
[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>
Diffstat (limited to 'drivers/media/dvb-frontends/sp8870.c')
-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;