]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: vt6655: remove useless #if 1
authorVladimir A. Nazarenko <naszar@ya.ru>
Thu, 9 Oct 2014 05:33:33 +0000 (16:33 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:30:13 +0000 (10:30 +0800)
There is code encapsulated in #if 1, let's remove it.

Signed-off-by: Vladimir A. Nazarenko <naszar@ya.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c
drivers/staging/vt6655/wpactl.c

index ff8bd7a5db87948445fe4f3f2bf1f909770cc340..6a77f0df1a63681ea44450995abd2037f61cda9d 100644 (file)
@@ -854,8 +854,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
                return -ENODEV;
        }
 
-#if 1
-
 #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);
@@ -892,8 +890,6 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
                        }
                }
        }
-#endif
-
 #endif
 
        pDevice->PortOffset = ioremap(pDevice->memaddr & PCI_BASE_ADDRESS_MEM_MASK, pDevice->io_size);
index dab1e807865269279d9fb04bf5f1ddc685e7a03e..cc39829cbaccaeda0ab42fbbc2f51db6c37b2b2e 100644 (file)
@@ -550,8 +550,6 @@ static int wpa_get_scan(struct vnt_private *pDevice,
        int ret = 0;
        u16 count = 0;
        u16 ii, jj;
-#if 1
-
        unsigned char *ptempBSS;
 
        ptempBSS = kmalloc(sizeof(KnownBSS), GFP_ATOMIC);
@@ -583,7 +581,6 @@ static int wpa_get_scan(struct vnt_private *pDevice,
        }
 
        kfree(ptempBSS);
-#endif
 
 //******mike:bubble sort by stronger RSSI*****//