summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorMichael Wu <flamingice@sourmilk.net>2007-09-24 18:10:25 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:53:09 -0700
commit0d282764eb82f89395493b5e0541c1e30c985838 (patch)
tree0b0be7433017fa46cfb408eefcdedb41723e7865 /drivers/net
parentfb9bc28f8bd8a6b9bc5fba7bcacc4bb131d2d5dc (diff)
downloadlinux-stable-0d282764eb82f89395493b5e0541c1e30c985838.tar.gz
linux-stable-0d282764eb82f89395493b5e0541c1e30c985838.tar.bz2
linux-stable-0d282764eb82f89395493b5e0541c1e30c985838.zip
[PATCH] adm8211: kill version printks
No need to pollute dmesg with copyright info. Signed-off-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/adm8211.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c
index 4c43cdb567c9..ce1f8e304eaa 100644
--- a/drivers/net/wireless/adm8211.c
+++ b/drivers/net/wireless/adm8211.c
@@ -39,11 +39,6 @@ static unsigned int rx_ring_size __read_mostly = 16;
module_param(tx_ring_size, uint, 0);
module_param(rx_ring_size, uint, 0);
-static const char version[] = KERN_INFO "adm8211: "
-"Copyright 2003, Jouni Malinen <j@w1.fi>; "
-"Copyright 2004-2007, Michael Wu <flamingice@sourmilk.net>\n";
-
-
static struct pci_device_id adm8211_pci_id_table[] __devinitdata = {
/* ADMtek ADM8211 */
{ PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */
@@ -1794,12 +1789,6 @@ static int __devinit adm8211_probe(struct pci_dev *pdev,
u8 perm_addr[ETH_ALEN];
DECLARE_MAC_BUF(mac);
-#ifndef MODULE
- static unsigned int cardidx;
- if (!cardidx++)
- printk(version);
-#endif
-
err = pci_enable_device(pdev);
if (err) {
printk(KERN_ERR "%s (adm8211): Cannot enable new PCI device\n",
@@ -2051,10 +2040,6 @@ static struct pci_driver adm8211_driver = {
static int __init adm8211_init(void)
{
-#ifdef MODULE
- printk(version);
-#endif
-
return pci_register_driver(&adm8211_driver);
}