OSDN Git Service

e1000: Neaten e1000_config_dsp_after_link_change
authorJoe Perches <joe@perches.com>
Fri, 10 Feb 2012 12:07:36 +0000 (12:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Feb 2012 10:02:13 +0000 (02:02 -0800)
commit542c3f4ea90fb6de47cce13df1da9ed9b1563981
tree977df047b43b3e9bb70696af3a625f408b05f463
parentdffcdde7697e5bf71e40fb453d2fa69055700be4
e1000: Neaten e1000_config_dsp_after_link_change

Separate a complicated bit of e1000_config_dsp_after_link_change
into a new static function e1000_1000Mb_check_cable_length.

Reduces indentation and adds a bit of clarity.

Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000/e1000_hw.c