]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: cleanup: remove e1000_force_speed_duplex()
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 5 Jan 2013 08:06:08 +0000 (08:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Jan 2013 05:41:41 +0000 (21:41 -0800)
commit7d52a73ffae1cccec57974a89e5b783fafe69d14
treee6ad9fdd26e9b3668d111085d05e858c77d95cfa
parent4b5133d411ad046d1572b9f560afcae1b8f4dd62
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