net/i40e: fix crash in AVX512
[dpdk.git] / drivers / net / enic / enic_compat.h
index eb1fc94..7741273 100644 (file)
@@ -73,14 +73,4 @@ static inline void writel(unsigned int val, volatile void __iomem *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_ */