]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000: Neaten e1000_config_dsp_after_link_change
authorJoe Perches <joe@perches.com>
Fri, 10 Feb 2012 12:07:36 +0000 (12:07 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 04:56:22 +0000 (12:56 +0800)
commit0bc9adc13077de310314d2048d793225bf511198
treea94ce5c34c9127c6c365fa0cd28dee9caab85338
parentb981dcf16af2b3f9cb1dc9a8f0e0d7c0ad5d2402
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.

(cherry picked from commit 542c3f4ea90fb6de47cce13df1da9ed9b1563981)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000/e1000_hw.c