Commit 402eede3 authored by Vladimir A. Nazarenko's avatar Vladimir A. Nazarenko Committed by Greg Kroah-Hartman

staging: vt6655: remove useless #if 1

There is code encapsulated in #if 1, let's remove it.
Signed-off-by: default avatarVladimir A. Nazarenko <naszar@ya.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ebf72ccf
...@@ -854,8 +854,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent) ...@@ -854,8 +854,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
return -ENODEV; return -ENODEV;
} }
#if 1
#ifdef DEBUG #ifdef DEBUG
pr_debug("after get pci_info memaddr is %x, io addr is %x,io_size is %d\n", pDevice->memaddr, pDevice->ioaddr, pDevice->io_size); pr_debug("after get pci_info memaddr is %x, io addr is %x,io_size is %d\n", pDevice->memaddr, pDevice->ioaddr, pDevice->io_size);
...@@ -892,8 +890,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent) ...@@ -892,8 +890,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
} }
} }
} }
#endif
#endif #endif
pDevice->PortOffset = ioremap(pDevice->memaddr & PCI_BASE_ADDRESS_MEM_MASK, pDevice->io_size); pDevice->PortOffset = ioremap(pDevice->memaddr & PCI_BASE_ADDRESS_MEM_MASK, pDevice->io_size);
......
...@@ -550,8 +550,6 @@ static int wpa_get_scan(struct vnt_private *pDevice, ...@@ -550,8 +550,6 @@ static int wpa_get_scan(struct vnt_private *pDevice,
int ret = 0; int ret = 0;
u16 count = 0; u16 count = 0;
u16 ii, jj; u16 ii, jj;
#if 1
unsigned char *ptempBSS; unsigned char *ptempBSS;
ptempBSS = kmalloc(sizeof(KnownBSS), GFP_ATOMIC); ptempBSS = kmalloc(sizeof(KnownBSS), GFP_ATOMIC);
...@@ -583,7 +581,6 @@ static int wpa_get_scan(struct vnt_private *pDevice, ...@@ -583,7 +581,6 @@ static int wpa_get_scan(struct vnt_private *pDevice,
} }
kfree(ptempBSS); kfree(ptempBSS);
#endif
//******mike:bubble sort by stronger RSSI*****// //******mike:bubble sort by stronger RSSI*****//
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment