Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2013 22:05:58 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254618 - in head/sys: amd64/include i386/include
Message-ID:  <201308212205.r7LM5wXj026921@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed Aug 21 22:05:58 2013
New Revision: 254618
URL: http://svnweb.freebsd.org/changeset/base/254618

Log:
  Remove empty lines before return statements for style consistency.

Modified:
  head/sys/amd64/include/atomic.h
  head/sys/i386/include/atomic.h

Modified: head/sys/amd64/include/atomic.h
==============================================================================
--- head/sys/amd64/include/atomic.h	Wed Aug 21 22:03:06 2013	(r254617)
+++ head/sys/amd64/include/atomic.h	Wed Aug 21 22:05:58 2013	(r254618)
@@ -150,7 +150,6 @@ atomic_cmpset_int(volatile u_int *dst, u
 	  "+a" (expect)			/* 2 */
 	: "r" (src)			/* 3 */
 	: "memory", "cc");
-
 	return (res);
 }
 
@@ -169,7 +168,6 @@ atomic_cmpset_long(volatile u_long *dst,
 	  "+a" (expect)			/* 2 */
 	: "r" (src)			/* 3 */
 	: "memory", "cc");
-
 	return (res);
 }
 
@@ -289,7 +287,6 @@ atomic_load_acq_##TYPE(volatile u_##TYPE
 	: "=a" (res),			/* 0 */		\
 	  "+m" (*p)			/* 1 */		\
 	: : "memory", "cc");				\
-							\
 	return (res);					\
 }							\
 struct __hack
@@ -346,7 +343,6 @@ atomic_swap_int(volatile u_int *p, u_int
 	"# atomic_swap_int"
 	: "+r" (v),			/* 0 */
 	  "+m" (*p));			/* 1 */
-
 	return (v);
 }
 
@@ -359,7 +355,6 @@ atomic_swap_long(volatile u_long *p, u_l
 	"# atomic_swap_long"
 	: "+r" (v),			/* 0 */
 	  "+m" (*p));			/* 1 */
-
 	return (v);
 }
 

Modified: head/sys/i386/include/atomic.h
==============================================================================
--- head/sys/i386/include/atomic.h	Wed Aug 21 22:03:06 2013	(r254617)
+++ head/sys/i386/include/atomic.h	Wed Aug 21 22:05:58 2013	(r254618)
@@ -145,7 +145,6 @@ atomic_load_acq_64_i386(volatile uint64_
 	: "m" (*low),			/* 1 */
 	  "m" (*high)			/* 2 */
 	: "memory");
-
 	return (res);
 }
 
@@ -181,7 +180,6 @@ atomic_load_acq_64_i586(volatile uint64_
 	: "=&A" (res),			/* 0 */
 	  "+m" (*p)			/* 1 */
 	: : "memory", "cc");
-
 	return (res);
 }
 
@@ -233,7 +231,6 @@ atomic_cmpset_int(volatile u_int *dst, u
 	: "r" (src),			/* 2 */
 	  "r" (expect)			/* 3 */
 	: "memory");
-
 	return (res);
 }
 
@@ -254,7 +251,6 @@ atomic_cmpset_int(volatile u_int *dst, u
 	  "+a" (expect)			/* 2 */
 	: "r" (src)			/* 3 */
 	: "memory", "cc");
-
 	return (res);
 }
 
@@ -341,7 +337,6 @@ atomic_load_acq_##TYPE(volatile u_##TYPE
 	: "=a" (res),			/* 0 */		\
 	  "+m" (*p)			/* 1 */		\
 	: : "memory", "cc");				\
-							\
 	return (res);					\
 }							\
 struct __hack
@@ -425,7 +420,6 @@ atomic_swap_int(volatile u_int *p, u_int
 	"# atomic_swap_int"
 	: "+r" (v),			/* 0 */
 	  "+m" (*p));			/* 1 */
-
 	return (v);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308212205.r7LM5wXj026921>