ixgbe: use typed min/max functions where possible
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 10 Feb 2012 10:20:02 +0000 (10:20 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Mar 2012 07:45:05 +0000 (00:45 -0700)
commit3ed69d7e318ce17c77d91fd09a963cf48ce3a8a9
tree0257735149646dc4550eb99a81f248f49b4c6342
parent9cdcf098800d9549b0bf1e759f8b456baabfb939
ixgbe: use typed min/max functions where possible

using the form min((int)var, ver)) is replaced by min_t(int, ...)

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c