Skip to contentSkip to conversation

ALSA: pcm: Fix trailing semicolon

PATCH Applied Luis de Bethencourt 2 participants 2 messages Jan 16, 2018 Sound

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ALSA: pcm: Fix trailing semicolon

The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything.

---
Changes from v1:
- Fix commit message

 sound/core/pcm_native.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/core/pcm_native.c +1 -1
index 3f13e8da0812..51104df924e1 100644
@@ -3446,7 +3446,7 @@ EXPORT_SYMBOL_GPL(snd_pcm_lib_default_mmap);
 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream,
 			   struct vm_area_struct *area)
 {
-	struct snd_pcm_runtime *runtime = substream->runtime;;
+	struct snd_pcm_runtime *runtime = substream->runtime;
 
 	area->vm_page_prot = pgprot_noncached(area->vm_page_prot);
 	return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes);
Signature · 1 line
2.15.1
Applied
#1 lore raw
Quoted 8 lines · Luis de Bethencourt

The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything.

---
Changes from v1:
- Fix commit message

Applied, thanks.

Takashi