e1000e: cleanup code duplication
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 5 Dec 2012 06:26:51 +0000 (06:26 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Jan 2013 08:49:47 +0000 (00:49 -0800)
commite3d14b08e80744958af920ab8bc8ee3866c3902b
tree22269cc96efc9e58dbd6c02e03c467a84d930a4b
parent3a3104e7d022ec24862448d167a21de46accf6e8
e1000e: cleanup code duplication

The removed code block is duplicated in e1000e_write_itr() so use that
instead.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c