diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2012-09-28 04:37:22 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-07 08:15:18 -0400 |
commit | c2c1b4156a447f113ef4d167decce29399c2667c (patch) | |
tree | 910e86eb8b64ada851d1c07d99f7885886be1dc2 /drivers/media/dvb-frontends/lnbp21.c | |
parent | 54fd321e131587b008c47289e4066ac65935cfb5 (diff) |
[media] drivers/media: Remove unnecessary semicolon
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p
@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>
[mchehab@redhat.com: some hunks got bitroted; applied only the
ones that succeeds]
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
[crope@iki.fi: For my drivers a8293, af9013, af9015, af9035]
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lnbp21.c')
-rw-r--r-- | drivers/media/dvb-frontends/lnbp21.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/lnbp21.c b/drivers/media/dvb-frontends/lnbp21.c index 13437259eeac..f3ba7b5faa2e 100644 --- a/drivers/media/dvb-frontends/lnbp21.c +++ b/drivers/media/dvb-frontends/lnbp21.c | |||
@@ -65,7 +65,7 @@ static int lnbp21_set_voltage(struct dvb_frontend *fe, | |||
65 | break; | 65 | break; |
66 | default: | 66 | default: |
67 | return -EINVAL; | 67 | return -EINVAL; |
68 | }; | 68 | } |
69 | 69 | ||
70 | lnbp21->config |= lnbp21->override_or; | 70 | lnbp21->config |= lnbp21->override_or; |
71 | lnbp21->config &= lnbp21->override_and; | 71 | lnbp21->config &= lnbp21->override_and; |
@@ -108,7 +108,7 @@ static int lnbp21_set_tone(struct dvb_frontend *fe, | |||
108 | break; | 108 | break; |
109 | default: | 109 | default: |
110 | return -EINVAL; | 110 | return -EINVAL; |
111 | }; | 111 | } |
112 | 112 | ||
113 | lnbp21->config |= lnbp21->override_or; | 113 | lnbp21->config |= lnbp21->override_or; |
114 | lnbp21->config &= lnbp21->override_and; | 114 | lnbp21->config &= lnbp21->override_and; |