diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2012-09-28 05:24:57 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-06 10:47:53 -0400 |
commit | 395d9dd5dd13c6aa3c8c61a31126af98cd1e747d (patch) | |
tree | ce39f46ca9da01b9c638e068733483a6d4cc5fd4 /sound/pci | |
parent | 9f720bb9409ea5923361fbd3fdbc505ca36cf012 (diff) |
sound: 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>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/asihpi/asihpi.c | 2 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0_game.c | 2 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0_pcm.c | 2 | ||||
-rw-r--r-- | sound/pci/emu10k1/emu10k1_callback.c | 2 | ||||
-rw-r--r-- | sound/pci/emu10k1/emupcm.c | 2 | ||||
-rw-r--r-- | sound/pci/intel8x0.c | 2 | ||||
-rw-r--r-- | sound/pci/mixart/mixart_hwdep.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c index a51e3ce3c800..eedc017c1cd8 100644 --- a/sound/pci/asihpi/asihpi.c +++ b/sound/pci/asihpi/asihpi.c | |||
@@ -2658,7 +2658,7 @@ static int __devinit snd_card_asihpi_mixer_new(struct snd_card_asihpi *asihpi) | |||
2658 | hpi_ctl.dst_node_type, | 2658 | hpi_ctl.dst_node_type, |
2659 | hpi_ctl.dst_node_index); | 2659 | hpi_ctl.dst_node_index); |
2660 | continue; | 2660 | continue; |
2661 | }; | 2661 | } |
2662 | if (err < 0) | 2662 | if (err < 0) |
2663 | return err; | 2663 | return err; |
2664 | } | 2664 | } |
diff --git a/sound/pci/au88x0/au88x0_game.c b/sound/pci/au88x0/au88x0_game.c index c07c792bde8d..30a456700d89 100644 --- a/sound/pci/au88x0/au88x0_game.c +++ b/sound/pci/au88x0/au88x0_game.c | |||
@@ -100,7 +100,7 @@ static int __devinit vortex_gameport_register(vortex_t * vortex) | |||
100 | if (!gp) { | 100 | if (!gp) { |
101 | printk(KERN_ERR "vortex: cannot allocate memory for gameport\n"); | 101 | printk(KERN_ERR "vortex: cannot allocate memory for gameport\n"); |
102 | return -ENOMEM; | 102 | return -ENOMEM; |
103 | }; | 103 | } |
104 | 104 | ||
105 | gameport_set_name(gp, "AU88x0 Gameport"); | 105 | gameport_set_name(gp, "AU88x0 Gameport"); |
106 | gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev)); | 106 | gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev)); |
diff --git a/sound/pci/au88x0/au88x0_pcm.c b/sound/pci/au88x0/au88x0_pcm.c index e59f120742a4..b2405020284c 100644 --- a/sound/pci/au88x0/au88x0_pcm.c +++ b/sound/pci/au88x0/au88x0_pcm.c | |||
@@ -585,7 +585,7 @@ static int snd_vortex_pcm_vol_put(struct snd_kcontrol *kcontrol, | |||
585 | case 4: | 585 | case 4: |
586 | mixin = p->mixin[i]; | 586 | mixin = p->mixin[i]; |
587 | break; | 587 | break; |
588 | }; | 588 | } |
589 | vol = p->vol[i]; | 589 | vol = p->vol[i]; |
590 | vortex_mix_setinputvolumebyte(vortex, | 590 | vortex_mix_setinputvolumebyte(vortex, |
591 | vortex->mixplayb[i], mixin, vol); | 591 | vortex->mixplayb[i], mixin, vol); |
diff --git a/sound/pci/emu10k1/emu10k1_callback.c b/sound/pci/emu10k1/emu10k1_callback.c index a0afa5057488..cae36597aa71 100644 --- a/sound/pci/emu10k1/emu10k1_callback.c +++ b/sound/pci/emu10k1/emu10k1_callback.c | |||
@@ -228,7 +228,7 @@ lookup_voices(struct snd_emux *emu, struct snd_emu10k1 *hw, | |||
228 | int i; | 228 | int i; |
229 | 229 | ||
230 | for (i = 0; i < V_END; i++) { | 230 | for (i = 0; i < V_END; i++) { |
231 | best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */; | 231 | best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */ |
232 | best[i].voice = -1; | 232 | best[i].voice = -1; |
233 | } | 233 | } |
234 | 234 | ||
diff --git a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c index e22b8e2bbd88..0e6664fa6cd9 100644 --- a/sound/pci/emu10k1/emupcm.c +++ b/sound/pci/emu10k1/emupcm.c | |||
@@ -1310,7 +1310,7 @@ static int snd_emu10k1_capture_efx_open(struct snd_pcm_substream *substream) | |||
1310 | runtime->hw.channels_min = | 1310 | runtime->hw.channels_min = |
1311 | runtime->hw.channels_max = 16; | 1311 | runtime->hw.channels_max = 16; |
1312 | break; | 1312 | break; |
1313 | }; | 1313 | } |
1314 | #endif | 1314 | #endif |
1315 | #if 0 | 1315 | #if 0 |
1316 | /* For 96kHz */ | 1316 | /* For 96kHz */ |
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index 848102e5d864..ea4b706c8d63 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -2226,7 +2226,7 @@ static int __devinit snd_intel8x0_mixer(struct intel8x0 *chip, int ac97_clock, | |||
2226 | case DEVICE_INTEL_ICH4: | 2226 | case DEVICE_INTEL_ICH4: |
2227 | chip->spdif_idx = ICHD_SPBAR; | 2227 | chip->spdif_idx = ICHD_SPBAR; |
2228 | break; | 2228 | break; |
2229 | }; | 2229 | } |
2230 | } | 2230 | } |
2231 | 2231 | ||
2232 | chip->in_ac97_init = 1; | 2232 | chip->in_ac97_init = 1; |
diff --git a/sound/pci/mixart/mixart_hwdep.c b/sound/pci/mixart/mixart_hwdep.c index bfbdc91e4cb3..e0f4d87555a0 100644 --- a/sound/pci/mixart/mixart_hwdep.c +++ b/sound/pci/mixart/mixart_hwdep.c | |||
@@ -538,7 +538,7 @@ static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmw | |||
538 | 538 | ||
539 | if ((err = snd_card_register(chip->card)) < 0) | 539 | if ((err = snd_card_register(chip->card)) < 0) |
540 | return err; | 540 | return err; |
541 | }; | 541 | } |
542 | 542 | ||
543 | snd_printdd("miXart firmware downloaded and successfully set up\n"); | 543 | snd_printdd("miXart firmware downloaded and successfully set up\n"); |
544 | 544 | ||