git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/sfc: fix align to power of 2 when align has smaller type
[dpdk.git]
/
drivers
/
net
/
sfc
/
efsys.h
diff --git
a/drivers/net/sfc/efsys.h
b/drivers/net/sfc/efsys.h
index
4c122d0
..
79fd3c1
100644
(file)
--- a/
drivers/net/sfc/efsys.h
+++ b/
drivers/net/sfc/efsys.h
@@
-76,10
+76,6
@@
typedef bool boolean_t;
#define IS_P2ALIGNED(v, a) ((((uintptr_t)(v)) & ((uintptr_t)(a) - 1)) == 0)
#endif
-#ifndef P2ALIGN
-#define P2ALIGN(_x, _a) ((_x) & -(_a))
-#endif
-
#ifndef ISP2
#define ISP2(x) rte_is_power_of_2(x)
#endif