e1000e: cleanup: remove e1000_force_speed_duplex()
commitc2c6629ba3f57d19b1385554b7fadb671bc7ab30
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 5 Jan 2013 08:06:08 +0000 (5 08:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Jan 2013 05:41:41 +0000 (27 21:41 -0800)
treee6ad9fdd26e9b3668d111085d05e858c77d95cfa
parent7de89f058ec2c58ef16582e4efadeb33d711c9e1
e1000e: cleanup: remove e1000_force_speed_duplex()

Remove the function e1000_force_speed_duplex() and replace the single call
to it with the same function pointer that it would call.  The function
pointer is always set so there is no risk of a NULL pointer dereference.

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/phy.c