]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/os/freebsd/spl/sys/ccompat.h
Clean up CSTYLEDs
[mirror_zfs.git] / include / os / freebsd / spl / sys / ccompat.h
index 59abe921dba951d7928d9f21f4e900765087175b..eaee9159eabd5539b880a8bd2e37ef24909dee24 100644 (file)
@@ -82,18 +82,17 @@ typedef struct {
        volatile int counter;
 } atomic_t;
 
-       /* BEGIN CSTYLED */
 #define        hlist_for_each(p, head)                                      \
        for (p = (head)->first; p; p = (p)->next)
 
 #define        hlist_entry(ptr, type, field)   container_of(ptr, type, field)
 
 #define        container_of(ptr, type, member)                         \
+/* CSTYLED */                                                   \
 ({                                                              \
-        const __typeof(((type *)0)->member) *__p = (ptr);       \
-        (type *)((uintptr_t)__p - offsetof(type, member));      \
+       const __typeof(((type *)0)->member) *__p = (ptr);       \
+       (type *)((uintptr_t)__p - offsetof(type, member));      \
 })
-       /* END CSTYLED */
 
 static inline void
 hlist_add_head(struct hlist_node *n, struct hlist_head *h)