]> bbs.cooldavid.org Git - net-next-2.6.git/commit
e1000e: Cleanup e1000_sw_lcd_config_ich8lan()
authorBruce Allan <bruce.w.allan@intel.com>
Mon, 10 May 2010 15:01:10 +0000 (15:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2010 06:31:12 +0000 (23:31 -0700)
commit8b802a7e94c2ed9c6032a88b3ab9860c55cd6378
tree53fd2605318e5a08a05e0ad7dafa1f0ce38f3664
parent757c530407a92fd460d557af59ba86920cf025cb
e1000e: Cleanup e1000_sw_lcd_config_ich8lan()

After every reset all ICH/PCH parts call this function which acquires the
swflag, performs a workaround on applicable parts and releases the swflag.
There is no reason for parts for which this workaround is not applicable
to acquire and release the swflag so the function should just return
without doing anything for these parts.  This also provides for the
indentation of most of the function contents to be shifted left cleaning up
the code.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c