e1000e: cleanup: remove e1000_get_cable_length()
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 5 Jan 2013 08:06:24 +0000 (08:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Jan 2013 06:28:55 +0000 (22:28 -0800)
commitdde3a5745cd27167653feb2e7e9fa0e3631e91ce
treedb60143e7143056c5a163cce12330d6a7f5c0133
parent84c1befe341d71ed1b878afa28bb637a0b459161
e1000e: cleanup: remove e1000_get_cable_length()

Remove the function e1000_get_cable_length() and replace the two calls
to it with the same function pointer that it would call.

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/e1000.h
drivers/net/ethernet/intel/e1000e/phy.c