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 | |
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>
-rw-r--r-- | sound/drivers/opl3/opl3_midi.c | 2 | ||||
-rw-r--r-- | sound/drivers/vx/vx_pcm.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/emu8000_callback.c | 2 | ||||
-rw-r--r-- | sound/isa/wavefront/wavefront_synth.c | 2 | ||||
-rw-r--r-- | sound/oss/audio.c | 2 | ||||
-rw-r--r-- | sound/oss/opl3.c | 2 | ||||
-rw-r--r-- | sound/oss/pss.c | 2 | ||||
-rw-r--r-- | sound/oss/sb_ess.c | 22 | ||||
-rw-r--r-- | sound/oss/sb_mixer.c | 4 | ||||
-rw-r--r-- | sound/oss/sys_timer.c | 4 | ||||
-rw-r--r-- | sound/oss/uart6850.c | 2 | ||||
-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 | ||||
-rw-r--r-- | sound/sparc/amd7930.c | 4 | ||||
-rw-r--r-- | sound/sparc/dbri.c | 2 |
20 files changed, 33 insertions, 33 deletions
diff --git a/sound/drivers/opl3/opl3_midi.c b/sound/drivers/opl3/opl3_midi.c index 2bfe4bcb7a7d..0c796bcbc0a3 100644 --- a/sound/drivers/opl3/opl3_midi.c +++ b/sound/drivers/opl3/opl3_midi.c | |||
@@ -163,7 +163,7 @@ static int opl3_get_voice(struct snd_opl3 *opl3, int instr_4op, | |||
163 | struct best *bp; | 163 | struct best *bp; |
164 | 164 | ||
165 | for (i = 0; i < END; i++) { | 165 | for (i = 0; i < END; i++) { |
166 | best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */; | 166 | best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ |
167 | best[i].voice = -1; | 167 | best[i].voice = -1; |
168 | } | 168 | } |
169 | 169 | ||
diff --git a/sound/drivers/vx/vx_pcm.c b/sound/drivers/vx/vx_pcm.c index 5e897b236cec..deed5efff33c 100644 --- a/sound/drivers/vx/vx_pcm.c +++ b/sound/drivers/vx/vx_pcm.c | |||
@@ -184,7 +184,7 @@ static int vx_set_format(struct vx_core *chip, struct vx_pipe *pipe, | |||
184 | default : | 184 | default : |
185 | snd_BUG(); | 185 | snd_BUG(); |
186 | return -EINVAL; | 186 | return -EINVAL; |
187 | }; | 187 | } |
188 | 188 | ||
189 | return vx_set_stream_format(chip, pipe, header); | 189 | return vx_set_stream_format(chip, pipe, header); |
190 | } | 190 | } |
diff --git a/sound/isa/sb/emu8000_callback.c b/sound/isa/sb/emu8000_callback.c index 344b4355be1c..72a9ac5efb40 100644 --- a/sound/isa/sb/emu8000_callback.c +++ b/sound/isa/sb/emu8000_callback.c | |||
@@ -175,7 +175,7 @@ get_voice(struct snd_emux *emu, struct snd_emux_port *port) | |||
175 | hw = emu->hw; | 175 | hw = emu->hw; |
176 | 176 | ||
177 | for (i = 0; i < END; i++) { | 177 | for (i = 0; i < END; i++) { |
178 | best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */; | 178 | best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ |
179 | best[i].voice = -1; | 179 | best[i].voice = -1; |
180 | } | 180 | } |
181 | 181 | ||
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c index 405f8b6a58b5..b1bf8d4e6494 100644 --- a/sound/isa/wavefront/wavefront_synth.c +++ b/sound/isa/wavefront/wavefront_synth.c | |||
@@ -538,7 +538,7 @@ munge_int32 (unsigned int src, | |||
538 | /* Note: we leave the upper bits in place */ | 538 | /* Note: we leave the upper bits in place */ |
539 | 539 | ||
540 | dst++; | 540 | dst++; |
541 | }; | 541 | } |
542 | return dst; | 542 | return dst; |
543 | }; | 543 | }; |
544 | 544 | ||
diff --git a/sound/oss/audio.c b/sound/oss/audio.c index 4b958b1c497c..09c932f899b8 100644 --- a/sound/oss/audio.c +++ b/sound/oss/audio.c | |||
@@ -354,7 +354,7 @@ int audio_read(int dev, struct file *file, char __user *buf, int count) | |||
354 | 354 | ||
355 | if(copy_to_user(&(buf)[p], fixit, l)) | 355 | if(copy_to_user(&(buf)[p], fixit, l)) |
356 | return -EFAULT; | 356 | return -EFAULT; |
357 | }; | 357 | } |
358 | 358 | ||
359 | DMAbuf_rmchars(dev, buf_no, l); | 359 | DMAbuf_rmchars(dev, buf_no, l); |
360 | 360 | ||
diff --git a/sound/oss/opl3.c b/sound/oss/opl3.c index 407cd677950b..c5c24409ceb0 100644 --- a/sound/oss/opl3.c +++ b/sound/oss/opl3.c | |||
@@ -1190,7 +1190,7 @@ static int opl3_init(int ioaddr, struct module *owner) | |||
1190 | 1190 | ||
1191 | for (i = 0; i < 18; i++) | 1191 | for (i = 0; i < 18; i++) |
1192 | pv_map[i].ioaddr = devc->left_io; | 1192 | pv_map[i].ioaddr = devc->left_io; |
1193 | }; | 1193 | } |
1194 | conf_printf2(devc->fm_info.name, ioaddr, 0, -1, -1); | 1194 | conf_printf2(devc->fm_info.name, ioaddr, 0, -1, -1); |
1195 | 1195 | ||
1196 | for (i = 0; i < SBFM_MAXINSTR; i++) | 1196 | for (i = 0; i < SBFM_MAXINSTR; i++) |
diff --git a/sound/oss/pss.c b/sound/oss/pss.c index 0f32a561f15f..145e36b2cfd0 100644 --- a/sound/oss/pss.c +++ b/sound/oss/pss.c | |||
@@ -359,7 +359,7 @@ static int pss_download_boot(pss_confdata * devc, unsigned char *block, int size | |||
359 | { | 359 | { |
360 | /*_____ Send the next byte */ | 360 | /*_____ Send the next byte */ |
361 | outw (*block++, REG (PSS_DATA)); | 361 | outw (*block++, REG (PSS_DATA)); |
362 | }; | 362 | } |
363 | count++; | 363 | count++; |
364 | } | 364 | } |
365 | 365 | ||
diff --git a/sound/oss/sb_ess.c b/sound/oss/sb_ess.c index 5c773dff5ac5..c0be085e4a20 100644 --- a/sound/oss/sb_ess.c +++ b/sound/oss/sb_ess.c | |||
@@ -1104,15 +1104,15 @@ int ess_init(sb_devc * devc, struct address_info *hw_config) | |||
1104 | default: | 1104 | default: |
1105 | printk (KERN_ERR "Invalid esstype=%d specified\n", devc->sbmo.esstype); | 1105 | printk (KERN_ERR "Invalid esstype=%d specified\n", devc->sbmo.esstype); |
1106 | return 0; | 1106 | return 0; |
1107 | }; | 1107 | } |
1108 | if (submodel != -1) { | 1108 | if (submodel != -1) { |
1109 | devc->submodel = submodel; | 1109 | devc->submodel = submodel; |
1110 | sprintf (modelname, "ES%d", devc->sbmo.esstype); | 1110 | sprintf (modelname, "ES%d", devc->sbmo.esstype); |
1111 | chip = modelname; | 1111 | chip = modelname; |
1112 | }; | 1112 | } |
1113 | if (chip == NULL && (ess_minor & 0x0f) < 8) { | 1113 | if (chip == NULL && (ess_minor & 0x0f) < 8) { |
1114 | chip = "ES688"; | 1114 | chip = "ES688"; |
1115 | }; | 1115 | } |
1116 | #ifdef FKS_TEST | 1116 | #ifdef FKS_TEST |
1117 | FKS_test (devc); | 1117 | FKS_test (devc); |
1118 | #endif | 1118 | #endif |
@@ -1122,7 +1122,7 @@ FKS_test (devc); | |||
1122 | */ | 1122 | */ |
1123 | if (chip == NULL && devc->sbmo.esstype == ESSTYPE_LIKE20) { | 1123 | if (chip == NULL && devc->sbmo.esstype == ESSTYPE_LIKE20) { |
1124 | chip = "ES1688"; | 1124 | chip = "ES1688"; |
1125 | }; | 1125 | } |
1126 | 1126 | ||
1127 | if (chip == NULL) { | 1127 | if (chip == NULL) { |
1128 | int type; | 1128 | int type; |
@@ -1150,8 +1150,8 @@ FKS_test (devc); | |||
1150 | if ((type & 0x00ff) != ((type >> 8) & 0x00ff)) { | 1150 | if ((type & 0x00ff) != ((type >> 8) & 0x00ff)) { |
1151 | printk ("ess_init: Unrecognized %04x\n", type); | 1151 | printk ("ess_init: Unrecognized %04x\n", type); |
1152 | } | 1152 | } |
1153 | }; | 1153 | } |
1154 | }; | 1154 | } |
1155 | #if 0 | 1155 | #if 0 |
1156 | /* | 1156 | /* |
1157 | * this one failed: | 1157 | * this one failed: |
@@ -1182,10 +1182,10 @@ FKS_test (devc); | |||
1182 | chip = "ES1788"; | 1182 | chip = "ES1788"; |
1183 | devc->submodel = SUBMDL_ES1788; | 1183 | devc->submodel = SUBMDL_ES1788; |
1184 | } | 1184 | } |
1185 | }; | 1185 | } |
1186 | if (chip == NULL) { | 1186 | if (chip == NULL) { |
1187 | chip = "ES1688"; | 1187 | chip = "ES1688"; |
1188 | }; | 1188 | } |
1189 | 1189 | ||
1190 | printk ( KERN_INFO "ESS chip %s %s%s\n" | 1190 | printk ( KERN_INFO "ESS chip %s %s%s\n" |
1191 | , chip | 1191 | , chip |
@@ -1293,7 +1293,7 @@ printk(KERN_INFO "ess_set_dma_hw: dma8=%d,dma16=%d,dup=%d\n" | |||
1293 | default: | 1293 | default: |
1294 | printk(KERN_ERR "ESS1887: Invalid DMA16 %d\n", dma); | 1294 | printk(KERN_ERR "ESS1887: Invalid DMA16 %d\n", dma); |
1295 | return 0; | 1295 | return 0; |
1296 | }; | 1296 | } |
1297 | ess_chgmixer (devc, 0x78, 0x20, dma16_bits); | 1297 | ess_chgmixer (devc, 0x78, 0x20, dma16_bits); |
1298 | ess_chgmixer (devc, 0x7d, 0x07, dma_bits); | 1298 | ess_chgmixer (devc, 0x7d, 0x07, dma_bits); |
1299 | } | 1299 | } |
@@ -1584,7 +1584,7 @@ printk(KERN_INFO "FKS: write mixer %x: %x\n", port, value); | |||
1584 | udelay(20); | 1584 | udelay(20); |
1585 | outb(((unsigned char) (value & 0xff)), MIXER_DATA); | 1585 | outb(((unsigned char) (value & 0xff)), MIXER_DATA); |
1586 | udelay(20); | 1586 | udelay(20); |
1587 | }; | 1587 | } |
1588 | spin_unlock_irqrestore(&devc->lock, flags); | 1588 | spin_unlock_irqrestore(&devc->lock, flags); |
1589 | } | 1589 | } |
1590 | 1590 | ||
@@ -1761,7 +1761,7 @@ int ess_mixer_reset (sb_devc * devc) | |||
1761 | ess_chgmixer(devc, 0x7a, 0x18, 0x08); | 1761 | ess_chgmixer(devc, 0x7a, 0x18, 0x08); |
1762 | ess_chgmixer(devc, 0x1c, 0x07, 0x07); | 1762 | ess_chgmixer(devc, 0x1c, 0x07, 0x07); |
1763 | break; | 1763 | break; |
1764 | }; | 1764 | } |
1765 | /* | 1765 | /* |
1766 | * Call set_recmask for proper initialization | 1766 | * Call set_recmask for proper initialization |
1767 | */ | 1767 | */ |
diff --git a/sound/oss/sb_mixer.c b/sound/oss/sb_mixer.c index f8f3b7a66b73..acf7586aeb47 100644 --- a/sound/oss/sb_mixer.c +++ b/sound/oss/sb_mixer.c | |||
@@ -410,7 +410,7 @@ static int set_recmask(sb_devc * devc, int mask) | |||
410 | case MDL_SMW: | 410 | case MDL_SMW: |
411 | if (devc->model == MDL_ESS && ess_set_recmask (devc, &devmask)) { | 411 | if (devc->model == MDL_ESS && ess_set_recmask (devc, &devmask)) { |
412 | break; | 412 | break; |
413 | }; | 413 | } |
414 | if (devmask != SOUND_MASK_MIC && | 414 | if (devmask != SOUND_MASK_MIC && |
415 | devmask != SOUND_MASK_LINE && | 415 | devmask != SOUND_MASK_LINE && |
416 | devmask != SOUND_MASK_CD) | 416 | devmask != SOUND_MASK_CD) |
@@ -666,7 +666,7 @@ static void sb_mixer_reset(sb_devc * devc) | |||
666 | 666 | ||
667 | if (devc->model != MDL_ESS || !ess_mixer_reset (devc)) { | 667 | if (devc->model != MDL_ESS || !ess_mixer_reset (devc)) { |
668 | set_recmask(devc, SOUND_MASK_MIC); | 668 | set_recmask(devc, SOUND_MASK_MIC); |
669 | }; | 669 | } |
670 | } | 670 | } |
671 | 671 | ||
672 | int sb_mixer_init(sb_devc * devc, struct module *owner) | 672 | int sb_mixer_init(sb_devc * devc, struct module *owner) |
diff --git a/sound/oss/sys_timer.c b/sound/oss/sys_timer.c index 8db6aefe15e4..9f039831114c 100644 --- a/sound/oss/sys_timer.c +++ b/sound/oss/sys_timer.c | |||
@@ -57,7 +57,7 @@ poll_def_tmr(unsigned long dummy) | |||
57 | { | 57 | { |
58 | def_tmr.expires = (1) + jiffies; | 58 | def_tmr.expires = (1) + jiffies; |
59 | add_timer(&def_tmr); | 59 | add_timer(&def_tmr); |
60 | }; | 60 | } |
61 | 61 | ||
62 | if (tmr_running) | 62 | if (tmr_running) |
63 | { | 63 | { |
@@ -103,7 +103,7 @@ def_tmr_open(int dev, int mode) | |||
103 | { | 103 | { |
104 | def_tmr.expires = (1) + jiffies; | 104 | def_tmr.expires = (1) + jiffies; |
105 | add_timer(&def_tmr); | 105 | add_timer(&def_tmr); |
106 | }; | 106 | } |
107 | 107 | ||
108 | return 0; | 108 | return 0; |
109 | } | 109 | } |
diff --git a/sound/oss/uart6850.c b/sound/oss/uart6850.c index f3f914aa92ee..1079133dd6ab 100644 --- a/sound/oss/uart6850.c +++ b/sound/oss/uart6850.c | |||
@@ -146,7 +146,7 @@ static int uart6850_open(int dev, int mode, | |||
146 | { | 146 | { |
147 | /* printk("Midi6850: Midi busy\n");*/ | 147 | /* printk("Midi6850: Midi busy\n");*/ |
148 | return -EBUSY; | 148 | return -EBUSY; |
149 | }; | 149 | } |
150 | 150 | ||
151 | uart6850_cmd(UART_RESET); | 151 | uart6850_cmd(UART_RESET); |
152 | uart6850_input_loop(); | 152 | uart6850_input_loop(); |
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 | ||
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c index b63b3a86d3f4..5701787c0e6b 100644 --- a/sound/sparc/amd7930.c +++ b/sound/sparc/amd7930.c | |||
@@ -813,7 +813,7 @@ static int snd_amd7930_get_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem | |||
813 | default: | 813 | default: |
814 | swval = &amd->pgain; | 814 | swval = &amd->pgain; |
815 | break; | 815 | break; |
816 | }; | 816 | } |
817 | 817 | ||
818 | ucontrol->value.integer.value[0] = *swval; | 818 | ucontrol->value.integer.value[0] = *swval; |
819 | 819 | ||
@@ -838,7 +838,7 @@ static int snd_amd7930_put_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem | |||
838 | default: | 838 | default: |
839 | swval = &amd->pgain; | 839 | swval = &amd->pgain; |
840 | break; | 840 | break; |
841 | }; | 841 | } |
842 | 842 | ||
843 | spin_lock_irqsave(&amd->lock, flags); | 843 | spin_lock_irqsave(&amd->lock, flags); |
844 | 844 | ||
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index a6b0deb77746..ae35f5342e10 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c | |||
@@ -592,7 +592,7 @@ static __u32 reverse_bytes(__u32 b, int len) | |||
592 | break; | 592 | break; |
593 | default: | 593 | default: |
594 | printk(KERN_ERR "DBRI reverse_bytes: unsupported length\n"); | 594 | printk(KERN_ERR "DBRI reverse_bytes: unsupported length\n"); |
595 | }; | 595 | } |
596 | 596 | ||
597 | return b; | 597 | return b; |
598 | } | 598 | } |