net/enic: move min/max macros
authorJohn Daley <johndale@cisco.com>
Tue, 14 Jan 2020 00:24:51 +0000 (16:24 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
commitaae7dd40cda4626c6e476890c26990324f9dc31d
treebf3adaa6272a1aaf8e7774f47f3e8118213438ed
parent04e8ec74192ae4bc537e4854410551255bf85cf5
net/enic: move min/max macros

Move a macro from a widely included header file to a header file
used only by the one caller of the macro.

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