X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fenic%2Fenic_compat.h;h=774127303720469a30024a25c38123b1726a3ab9;hb=78156d38e112b33032eedfada65b0df8b047bc31;hp=eb1fc941e45cff035a5146cd2ed884e757565630;hpb=04e8ec74192ae4bc537e4854410551255bf85cf5;p=dpdk.git diff --git a/drivers/net/enic/enic_compat.h b/drivers/net/enic/enic_compat.h index eb1fc941e4..7741273037 100644 --- 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); } -#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_ */