summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-08-21 22:05:58 +0000
committerjkim <jkim@FreeBSD.org>2013-08-21 22:05:58 +0000
commit18751f3bf890aa5feaa6f7c85ef4298532dd859b (patch)
treeee0f68d6ce99ff561a76ed8352491d07d2a17317
parentf354dbfd86da3630a8255742b26f41788ac10194 (diff)
downloadFreeBSD-src-18751f3bf890aa5feaa6f7c85ef4298532dd859b.zip
FreeBSD-src-18751f3bf890aa5feaa6f7c85ef4298532dd859b.tar.gz
Remove empty lines before return statements for style consistency.
-rw-r--r--sys/amd64/include/atomic.h5
-rw-r--r--sys/i386/include/atomic.h6
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/amd64/include/atomic.h b/sys/amd64/include/atomic.h
index 4a15220..9110dc5 100644
--- a/sys/amd64/include/atomic.h
+++ b/sys/amd64/include/atomic.h
@@ -150,7 +150,6 @@ atomic_cmpset_int(volatile u_int *dst, u_int expect, u_int src)
"+a" (expect) /* 2 */
: "r" (src) /* 3 */
: "memory", "cc");
-
return (res);
}
@@ -169,7 +168,6 @@ atomic_cmpset_long(volatile u_long *dst, u_long expect, u_long src)
"+a" (expect) /* 2 */
: "r" (src) /* 3 */
: "memory", "cc");
-
return (res);
}
@@ -289,7 +287,6 @@ atomic_load_acq_##TYPE(volatile u_##TYPE *p) \
: "=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 v)
"# atomic_swap_int"
: "+r" (v), /* 0 */
"+m" (*p)); /* 1 */
-
return (v);
}
@@ -359,7 +355,6 @@ atomic_swap_long(volatile u_long *p, u_long v)
"# atomic_swap_long"
: "+r" (v), /* 0 */
"+m" (*p)); /* 1 */
-
return (v);
}
diff --git a/sys/i386/include/atomic.h b/sys/i386/include/atomic.h
index 0d1738c..41b4815 100644
--- a/sys/i386/include/atomic.h
+++ b/sys/i386/include/atomic.h
@@ -145,7 +145,6 @@ atomic_load_acq_64_i386(volatile uint64_t *p)
: "m" (*low), /* 1 */
"m" (*high) /* 2 */
: "memory");
-
return (res);
}
@@ -181,7 +180,6 @@ atomic_load_acq_64_i586(volatile uint64_t *p)
: "=&A" (res), /* 0 */
"+m" (*p) /* 1 */
: : "memory", "cc");
-
return (res);
}
@@ -233,7 +231,6 @@ atomic_cmpset_int(volatile u_int *dst, u_int expect, u_int src)
: "r" (src), /* 2 */
"r" (expect) /* 3 */
: "memory");
-
return (res);
}
@@ -254,7 +251,6 @@ atomic_cmpset_int(volatile u_int *dst, u_int expect, u_int src)
"+a" (expect) /* 2 */
: "r" (src) /* 3 */
: "memory", "cc");
-
return (res);
}
@@ -341,7 +337,6 @@ atomic_load_acq_##TYPE(volatile u_##TYPE *p) \
: "=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 v)
"# atomic_swap_int"
: "+r" (v), /* 0 */
"+m" (*p)); /* 1 */
-
return (v);
}
OpenPOWER on IntegriCloud