diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-09-12 21:10:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-14 18:50:45 +0300 |
commit | e77610a94c1fe0402979f58bee6933ffe18b15e3 (patch) | |
tree | 4df95e95b02442f1026c096daa368d953e7d7f61 /drivers/staging/vt6655 | |
parent | c2c77eea18f24d847fc6dbbed5d6eaf29fb8de3e (diff) | |
download | linux-e77610a94c1fe0402979f58bee6933ffe18b15e3.tar.xz |
staging: vt6655: remove get_chip_name and info message.
This prints "VIA Networking Solomon-A/B/G Wireless LAN Adapter"
which has already printed once in vt6655_probe.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 2584d1786001..99191d979dc5 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -168,16 +168,6 @@ static void device_free_rings(struct vnt_private *pDevice); /*--------------------- Export Functions --------------------------*/ -static char *get_chip_name(int chip_id) -{ - int i; - - for (i = 0; chip_info_table[i].name != NULL; i++) - if (chip_info_table[i].chip_id == chip_id) - break; - return chip_info_table[i].name; -} - static void vt6655_remove(struct pci_dev *pcid) { struct vnt_private *pDevice = pci_get_drvdata(pcid); @@ -447,8 +437,6 @@ static void device_init_registers(struct vnt_private *pDevice) static void device_print_info(struct vnt_private *pDevice) { - dev_info(&pDevice->pcid->dev, "%s\n", get_chip_name(pDevice->chip_id)); - dev_info(&pDevice->pcid->dev, "MAC=%pM IO=0x%lx Mem=0x%lx IRQ=%d\n", pDevice->abyCurrentNetAddr, (unsigned long)pDevice->ioaddr, (unsigned long)pDevice->PortOffset, pDevice->pcid->irq); |