mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
staging: vt6655: remove multiple instances of netdevice.
netdevice can only be created once. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
70afb8e503
commit
33cfce64e7
2 changed files with 0 additions and 4 deletions
|
@ -339,7 +339,6 @@ struct vnt_private {
|
|||
|
||||
// netdev
|
||||
struct net_device *dev;
|
||||
struct net_device *next_module;
|
||||
struct net_device_stats stats;
|
||||
|
||||
//dma addr, rx/tx pool
|
||||
|
|
|
@ -247,7 +247,6 @@ DEVICE_PARAM(bDiversityANTEnable, "ANT diversity mode");
|
|||
//
|
||||
|
||||
static int device_nics = 0;
|
||||
static struct net_device *root_device_dev = NULL;
|
||||
|
||||
static CHIP_INFO chip_info_table[] = {
|
||||
{ VT3253, "VIA Networking Solomon-A/B/G Wireless LAN Adapter ",
|
||||
|
@ -851,8 +850,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
|
|||
|
||||
vt6655_init_info(pcid, &pDevice, pChip_info);
|
||||
pDevice->dev = dev;
|
||||
pDevice->next_module = root_device_dev;
|
||||
root_device_dev = dev;
|
||||
|
||||
if (pci_enable_device(pcid)) {
|
||||
device_free_info(pDevice);
|
||||
|
|
Loading…
Reference in a new issue