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/pci/cx23885 | |
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/pci/cx23885')
-rw-r--r-- | drivers/media/pci/cx23885/altera-ci.c | 4 | ||||
-rw-r--r-- | drivers/media/pci/cx23885/cimax2.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/pci/cx23885/altera-ci.c b/drivers/media/pci/cx23885/altera-ci.c index aee7f0dacff1..495781ee4711 100644 --- a/drivers/media/pci/cx23885/altera-ci.c +++ b/drivers/media/pci/cx23885/altera-ci.c | |||
@@ -416,7 +416,7 @@ static void netup_read_ci_status(struct work_struct *work) | |||
416 | DVB_CA_EN50221_POLL_CAM_READY : 0); | 416 | DVB_CA_EN50221_POLL_CAM_READY : 0); |
417 | ci_dbg_print("%s: setting CI[1] status = 0x%x\n", | 417 | ci_dbg_print("%s: setting CI[1] status = 0x%x\n", |
418 | __func__, inter->state[1]->status); | 418 | __func__, inter->state[1]->status); |
419 | }; | 419 | } |
420 | 420 | ||
421 | if (inter->state[0] != NULL) { | 421 | if (inter->state[0] != NULL) { |
422 | inter->state[0]->status = | 422 | inter->state[0]->status = |
@@ -425,7 +425,7 @@ static void netup_read_ci_status(struct work_struct *work) | |||
425 | DVB_CA_EN50221_POLL_CAM_READY : 0); | 425 | DVB_CA_EN50221_POLL_CAM_READY : 0); |
426 | ci_dbg_print("%s: setting CI[0] status = 0x%x\n", | 426 | ci_dbg_print("%s: setting CI[0] status = 0x%x\n", |
427 | __func__, inter->state[0]->status); | 427 | __func__, inter->state[0]->status); |
428 | }; | 428 | } |
429 | } | 429 | } |
430 | 430 | ||
431 | /* CI irq handler */ | 431 | /* CI irq handler */ |
diff --git a/drivers/media/pci/cx23885/cimax2.c b/drivers/media/pci/cx23885/cimax2.c index c9f15d6dec40..6617774a326a 100644 --- a/drivers/media/pci/cx23885/cimax2.c +++ b/drivers/media/pci/cx23885/cimax2.c | |||
@@ -193,7 +193,7 @@ int netup_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, | |||
193 | 0, &store, 1); | 193 | 0, &store, 1); |
194 | if (ret != 0) | 194 | if (ret != 0) |
195 | return ret; | 195 | return ret; |
196 | }; | 196 | } |
197 | state->current_ci_flag = flag; | 197 | state->current_ci_flag = flag; |
198 | 198 | ||
199 | mutex_lock(&dev->gpio_lock); | 199 | mutex_lock(&dev->gpio_lock); |