mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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@bugseng.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
3c5c9743ca
commit
738db54711
1 file changed
-3
@@ -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; \
|
||||
}
|
||||
|
||||
|
||||