diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-21 16:31:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 3e0a66d01613ec8f40d166b0095cf9026e811ff2 (patch) | |
tree | 922ae1c14c7847327b3b83f6792900ddff800963 /drivers/staging/slicoss | |
parent | db7425b130cbcfaf468d3e45f8c5e1659f8d1fb9 (diff) | |
download | linux-3e0a66d01613ec8f40d166b0095cf9026e811ff2.tar.gz linux-3e0a66d01613ec8f40d166b0095cf9026e811ff2.tar.bz2 linux-3e0a66d01613ec8f40d166b0095cf9026e811ff2.zip |
staging: slicoss: Eliminate commented out code
Remove commented out code to reduce code clutter.
Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/slicoss')
-rw-r--r-- | drivers/staging/slicoss/slicoss.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index a91c60a3a202..3d0a3933d199 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -545,14 +545,6 @@ static int slic_card_download(struct adapter *adapter) instruction = *(u32 *)(fw->data + index); index += 4; - /* Check SRAM location zero. If it is non-zero. Abort.*/ - /* - * failure = readl((u32 __iomem *)&slic_regs->slic_reset); - * if (failure) { - * release_firmware(fw); - * return -EIO; - * } - */ } } release_firmware(fw); @@ -907,11 +899,6 @@ static void slic_upr_start(struct adapter *adapter) { struct slic_upr *upr; __iomem struct slic_regs *slic_regs = adapter->slic_regs; -/* - * char * ptr1; - * char * ptr2; - * uint cmdoffset; - */ upr = adapter->upr_list; if (!upr) return; @@ -2923,9 +2910,8 @@ static void slic_init_adapter(struct net_device *netdev, adapter->functionnumber = (pcidev->devfn & 0x7); adapter->slic_regs = memaddr; adapter->irq = pcidev->irq; -/* adapter->netdev = netdev;*/ adapter->chipid = chip_idx; - adapter->port = 0; /*adapter->functionnumber;*/ + adapter->port = 0; adapter->cardindex = adapter->port; spin_lock_init(&adapter->upr_lock); spin_lock_init(&adapter->bit64reglock); @@ -3140,7 +3126,6 @@ static int slic_entry_probe(struct pci_dev *pcidev, mmio_start = pci_resource_start(pcidev, 0); mmio_len = pci_resource_len(pcidev, 0); -/* memmapped_ioaddr = (u32)ioremap_nocache(mmio_start, mmio_len);*/ memmapped_ioaddr = ioremap(mmio_start, mmio_len); if (!memmapped_ioaddr) { dev_err(&pcidev->dev, "cannot remap MMIO region %lx @ %lx\n", |