All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hdspm - remove unneeded semicolon
       [not found] <51e3f149.nCPr8Y8W56mt7yeV%fengguang.wu@intel.com>
@ 2013-07-15 13:41 ` Fengguang Wu
  2013-07-15 13:46   ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2013-07-15 13:41 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Adrian Knoth, alsa-devel, kbuild-all

sound/pci/rme9652/hdspm.c:1110:2-3: Unneeded semicolon

Generated by: coccinelle/misc/semicolon.cocci

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
---

 cocci-output-13040-790f4c-hdspm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -1107,7 +1107,7 @@ static int hdspm_rate_multiplier(struct
 		else if (hdspm->control_register &
 				HDSPM_DoubleSpeed)
 			return rate * 2;
-	};
+	}
 	return rate;
 }
 

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

* Re: [PATCH] hdspm - remove unneeded semicolon
  2013-07-15 13:41 ` [PATCH] hdspm - remove unneeded semicolon Fengguang Wu
@ 2013-07-15 13:46   ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2013-07-15 13:46 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: Adrian Knoth, alsa-devel, kbuild-all

At Mon, 15 Jul 2013 21:41:32 +0800,
Fengguang Wu wrote:
> 
> sound/pci/rme9652/hdspm.c:1110:2-3: Unneeded semicolon
> 
> Generated by: coccinelle/misc/semicolon.cocci
> 
> Reported-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks, applied.


Takashi

> ---
> 
>  cocci-output-13040-790f4c-hdspm.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/sound/pci/rme9652/hdspm.c
> +++ b/sound/pci/rme9652/hdspm.c
> @@ -1107,7 +1107,7 @@ static int hdspm_rate_multiplier(struct
>  		else if (hdspm->control_register &
>  				HDSPM_DoubleSpeed)
>  			return rate * 2;
> -	};
> +	}
>  	return rate;
>  }
>  
> 

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

end of thread, other threads:[~2013-07-15 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <51e3f149.nCPr8Y8W56mt7yeV%fengguang.wu@intel.com>
2013-07-15 13:41 ` [PATCH] hdspm - remove unneeded semicolon Fengguang Wu
2013-07-15 13:46   ` 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.