• H
    [PATCH] libertas: remove unused variables in wlan_dev_t · 634b8f49
    Holger Schurig 提交于
    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: NHolger Schurig <hs4233@mail.mn-solutions.de>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    634b8f49
scan.c 60.2 KB