]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57eba5c78f8ab74034e3129d523c6b02f0e09f78
treedb60143e7143056c5a163cce12330d6a7f5c0133
parent55f5c67bf9bf35cbd99a0cafe61ca918a93c6b0f
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