net/enic: use common min and max macros
authorJohn Daley <johndale@cisco.com>
Tue, 21 Jan 2020 20:35:07 +0000 (12:35 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:19 +0000 (09:51 +0100)
commit25d22cd4f8d7f6d366c25bb565d5a11e7856f81b
tree1819e9ab9441daf997c4301fde072d5f1f209baf
parent77a2a3c81d1df0776cbca8adaf1163b1dbdf9b6f
net/enic: use common min and max macros

Use the RTE_MIN and RTE_MAX macros instead of private macros.

Fixes: aae7dd40cda4 ("net/enic: move min/max macros")

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
drivers/net/enic/enic_res.c
drivers/net/enic/enic_res.h