OSDN Git Service

e1000e: cleanup: remove e1000_get_phy_cfg_done()
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 5 Jan 2013 08:06:19 +0000 (08:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Jan 2013 06:22:11 +0000 (22:22 -0800)
commit84c1befe341d71ed1b878afa28bb637a0b459161
tree20f0cd65729ddb6ef9e2305cba6054285f38bd2c
parentfe90849f76de7cd584e8c6c38b076cd366415994
e1000e: cleanup: remove e1000_get_phy_cfg_done()

Remove the function e1000_get_phy_cfg_done() 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