]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Replace eitr_low and eitr_high with static values in ixgbe_update_itr
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:50:20 +0000 (07:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Mar 2012 07:33:38 +0000 (00:33 -0700)
commitaffa3f374cfc5ab9adde04763dd9185fa74e7ba5
treeef0c28950b52ad77c3d7dc91df23ad8f2c548db4
parentd1fc54815a2620a482ce039589767ccfe8f022e7
ixgbe: Replace eitr_low and eitr_high with static values in ixgbe_update_itr

There isn't much point in using variables to store the values of eitr_low
and eitr_high since they are not user changeable.  As such I am replacing
them with the constants 10 and 20 in order to avoid any confusion on what
the values actually are.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c