From: Holger Schurig Date: Fri, 25 May 2007 17:05:16 +0000 (-0400) Subject: [PATCH] libertas: remove unused variables in wlan_dev_t X-Git-Tag: v2.6.22-rc5~44^2~2^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=634b8f49c11f49272b09d13a34b22a17b8c3d419;p=pandora-kernel.git [PATCH] libertas: remove unused variables in wlan_dev_t Actually, this patch removev wlan_dev_t totally and puts the used variables of it directly into wlan_private. That reduces one level of indirection and looks a little bit simpler. It's now "priv->card" and not "priv->wlan_dev.card" and "priv->dev" instead of "priv->wlan_dev.netdev" Changed two occurences of "((wlan_private *) dev->priv)->wlan_dev.netdev" into "dev", because I didn't see the point in doing pointer-ping-pong. The variables "ioport", "upld_rcv" and "upld_type" where unused. They have been removed. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville --- Reading git-diff-tree failed