• Holger Schurig's avatar
    [PATCH] libertas: remove unused variables in wlan_dev_t · 634b8f49
    Holger Schurig authored
    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: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    634b8f49
rx.c 12 KB