From: Alexander Duyck Date: Wed, 28 Mar 2012 08:03:48 +0000 (+0000) Subject: ixgbe: Make ixgbe_fc_autoneg return void and always set current_mode X-Git-Tag: v3.5-rc1~109^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786e9a5f590f367fffad4c528c97d1f1e155a0ef;p=pandora-kernel.git ixgbe: Make ixgbe_fc_autoneg return void and always set current_mode This change makes it so that ixgbe_fc_autoneg is a void and always sets the current_mode. Previously if the link was down we would return an error, however there is no harm in simply treating a link down case as a case in which autoneg simply failed. This allows us to rely on the return value of the ixgbe_fc_enable call now since there should be no cases where it returns an error that would normally be ignored. Signed-off-by: Alexander Duyck Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed