All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ALSA: pcm: Fix trailing semicolon
@ 2018-01-16 13:26 ` Luis de Bethencourt
  0 siblings, 0 replies; 4+ messages in thread
From: Luis de Bethencourt @ 2018-01-16 13:26 UTC (permalink / raw)
  To: linux-kernel
  Cc: alsa-devel, Joe Perches, Jaroslav Kysela, Takashi Iwai,
	Takashi Sakamoto, Luis de Bethencourt

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

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
---
Changes from v1:
 - Fix commit message


 sound/core/pcm_native.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index 3f13e8da0812..51104df924e1 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -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);
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2] ALSA: pcm: Fix trailing semicolon
@ 2018-01-16 13:26 ` Luis de Bethencourt
  0 siblings, 0 replies; 4+ messages in thread
From: Luis de Bethencourt @ 2018-01-16 13:26 UTC (permalink / raw)
  To: linux-kernel
  Cc: alsa-devel, Luis de Bethencourt, Takashi Iwai, Takashi Sakamoto,
	Joe Perches

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

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
---
Changes from v1:
 - Fix commit message


 sound/core/pcm_native.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index 3f13e8da0812..51104df924e1 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -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);
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] ALSA: pcm: Fix trailing semicolon
  2018-01-16 13:26 ` Luis de Bethencourt
@ 2018-01-16 13:30   ` Takashi Iwai
  -1 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2018-01-16 13:30 UTC (permalink / raw)
  To: Luis de Bethencourt
  Cc: linux-kernel, alsa-devel, Joe Perches, Jaroslav Kysela, Takashi Sakamoto

On Tue, 16 Jan 2018 14:26:26 +0100,
Luis de Bethencourt wrote:
> 
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
> 
> Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
> ---
> Changes from v1:
>  - Fix commit message

Applied, thanks.


Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] ALSA: pcm: Fix trailing semicolon
@ 2018-01-16 13:30   ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2018-01-16 13:30 UTC (permalink / raw)
  To: Luis de Bethencourt
  Cc: linux-kernel, alsa-devel, Joe Perches, Jaroslav Kysela, Takashi Sakamoto

On Tue, 16 Jan 2018 14:26:26 +0100,
Luis de Bethencourt wrote:
> 
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
> 
> Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
> ---
> Changes from v1:
>  - Fix commit message

Applied, thanks.


Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-16 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 13:26 [PATCH v2] ALSA: pcm: Fix trailing semicolon Luis de Bethencourt
2018-01-16 13:26 ` Luis de Bethencourt
2018-01-16 13:30 ` Takashi Iwai
2018-01-16 13:30   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.