From: Sathya Perla Date: Fri, 28 Sep 2012 04:39:43 +0000 (+0000) Subject: be2net: cleanup code related to be_link_status_query() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323ff71e566994f77761e221361de5b4a52a612f;p=pandora-kernel.git be2net: cleanup code related to be_link_status_query() 1) link_status_query() is always called to query the link-speed (speed after applying qos). When there is no qos setting, link-speed is derived from port-speed. Do all this inside this routine and hide this from the callers. 2) adpater->phy.forced_port_speed is not being set anywhere after being initialized. Get rid of this variable. 3) Ignore async link_speed notifications till the initial value has been fetched from FW. Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed