From: John W. Linville Date: Tue, 22 Dec 2009 23:13:05 +0000 (-0500) Subject: rtl8187: remove priv->mode X-Git-Tag: v2.6.34-rc1~233^2~682^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30506e0357e5448c7d38bb3739c451dbe4c174e;p=pandora-kernel.git rtl8187: remove priv->mode It is checked in add_interface, but there it is easily replaced with a check of priv->vif. If that information should become necessary, it is available in vif->type anyway. It is also checked in led_turn_on and led_turn_off, where I made the substitutions as described above. Of course, these checks seem to have been incorrect since the driver was using NL80211_IFTYPE_MONITOR to indicate no interface rather than NL80211_IFTYPE_UNSPECIFIED. Anyway, I think these checks may be extraneous...? Signed-off-by: John W. Linville --- Reading git-diff-tree failed