]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6655: vt6655_probe remove management pointers
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 29 Oct 2014 17:43:59 +0000 (17:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 20:31:30 +0000 (13:31 -0700)
All these pointers are now dead.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c

index 0bd2ca8b49b5eacca010169646af897e79151a51..d7dd002f8daf12446ac78cc95f7187f2625d0585 100644 (file)
@@ -3266,8 +3266,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
        /* Enable the chip specified capabilities */
        priv->flags = priv->sOpts.flags | (pChip_info->flags & 0xff000000UL);
        priv->tx_80211 = device_dma0_tx_80211;
-       priv->sMgmtObj.pAdapter = (void *)priv;
-       priv->pMgmt = &(priv->sMgmtObj);
 
        wiphy = priv->hw->wiphy;