|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH v2 2/2] xen/bitmap: remove redundant deviations
Remove comment-based deviations since a project wide deviation that
cover such cases is present.
Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx>
---
Changes from v1:
- split modifications in two patches.
---
xen/include/xen/bitmap.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/xen/include/xen/bitmap.h b/xen/include/xen/bitmap.h
index 5d668053b0..4b642cd420 100644
--- a/xen/include/xen/bitmap.h
+++ b/xen/include/xen/bitmap.h
@@ -103,13 +103,10 @@ extern int bitmap_allocate_region(unsigned long *bitmap,
int pos, int order);
#define bitmap_switch(nbits, zero, small, large) \
unsigned int n__ = (nbits); \
if (__builtin_constant_p(nbits) && !n__) { \
- /* SAF-7-safe Rule 20.7 non-parenthesized macro argument */ \
zero; \
} else if (__builtin_constant_p(nbits) && n__ <= BITS_PER_LONG) { \
- /* SAF-7-safe Rule 20.7 non-parenthesized macro argument */ \
small; \
} else { \
- /* SAF-7-safe Rule 20.7 non-parenthesized macro argument */ \
large; \
}
--
2.34.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |