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/i40e: fix parsing packet type for NEON
[dpdk.git]
/
drivers
/
net
/
enic
/
enic_compat.h
diff --git
a/drivers/net/enic/enic_compat.h
b/drivers/net/enic/enic_compat.h
index
eb1fc94
..
7741273
100644
(file)
--- a/
drivers/net/enic/enic_compat.h
+++ b/
drivers/net/enic/enic_compat.h
@@
-73,14
+73,4
@@
static inline void writel(unsigned int val, volatile void __iomem *addr)
rte_write32(val, addr);
}
rte_write32(val, addr);
}
-#define min_t(type, x, y) ({ \
- type __min1 = (x); \
- type __min2 = (y); \
- __min1 < __min2 ? __min1 : __min2; })
-
-#define max_t(type, x, y) ({ \
- type __max1 = (x); \
- type __max2 = (y); \
- __max1 > __max2 ? __max1 : __max2; })
-
#endif /* _ENIC_COMPAT_H_ */
#endif /* _ENIC_COMPAT_H_ */