svn commit: r254618 - in head/sys: amd64/include i386/include
Jung-uk Kim
jkim at FreeBSD.org
Wed Aug 21 22:05:59 UTC 2013
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);
}
More information about the svn-src-all
mailing list