[SPARC]: nop() macro has bogus trailing semicolon

Linux Kernel Mailing List <[email protected]>
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1567, 2005/02/10 19:01:21-08:00, [email protected]

	[SPARC]: nop() macro has bogus trailing semicolon 
	
	Noticed by Bob Breuer.
	
	Signed-off-by: David S. Miller <[email protected]>



 system.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/include/asm-sparc/system.h b/include/asm-sparc/system.h
--- a/include/asm-sparc/system.h	2005-02-12 13:03:18 -08:00
+++ b/include/asm-sparc/system.h	2005-02-12 13:03:18 -08:00
@@ -299,7 +299,7 @@
 #define smp_rmb()	__asm__ __volatile__("":::"memory")
 #define smp_wmb()	__asm__ __volatile__("":::"memory")
 
-#define nop() __asm__ __volatile__ ("nop");
+#define nop() __asm__ __volatile__ ("nop")
 
 /* This has special calling conventions */
 #ifndef CONFIG_SMP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.