diff options
author | Michael Wu <flamingice@sourmilk.net> | 2007-09-24 18:10:25 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:53:09 -0400 |
commit | 0d282764eb82f89395493b5e0541c1e30c985838 (patch) | |
tree | 0b0be7433017fa46cfb408eefcdedb41723e7865 /drivers/net/wireless/adm8211.c | |
parent | fb9bc28f8bd8a6b9bc5fba7bcacc4bb131d2d5dc (diff) |
[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/wireless/adm8211.c')
-rw-r--r-- | drivers/net/wireless/adm8211.c | 15 |
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; | |||
39 | module_param(tx_ring_size, uint, 0); | 39 | module_param(tx_ring_size, uint, 0); |
40 | module_param(rx_ring_size, uint, 0); | 40 | module_param(rx_ring_size, uint, 0); |
41 | 41 | ||
42 | static const char version[] = KERN_INFO "adm8211: " | ||
43 | "Copyright 2003, Jouni Malinen <j@w1.fi>; " | ||
44 | "Copyright 2004-2007, Michael Wu <flamingice@sourmilk.net>\n"; | ||
45 | |||
46 | |||
47 | static struct pci_device_id adm8211_pci_id_table[] __devinitdata = { | 42 | static struct pci_device_id adm8211_pci_id_table[] __devinitdata = { |
48 | /* ADMtek ADM8211 */ | 43 | /* ADMtek ADM8211 */ |
49 | { PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */ | 44 | { PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */ |
@@ -1794,12 +1789,6 @@ static int __devinit adm8211_probe(struct pci_dev *pdev, | |||
1794 | u8 perm_addr[ETH_ALEN]; | 1789 | u8 perm_addr[ETH_ALEN]; |
1795 | DECLARE_MAC_BUF(mac); | 1790 | DECLARE_MAC_BUF(mac); |
1796 | 1791 | ||
1797 | #ifndef MODULE | ||
1798 | static unsigned int cardidx; | ||
1799 | if (!cardidx++) | ||
1800 | printk(version); | ||
1801 | #endif | ||
1802 | |||
1803 | err = pci_enable_device(pdev); | 1792 | err = pci_enable_device(pdev); |
1804 | if (err) { | 1793 | if (err) { |
1805 | printk(KERN_ERR "%s (adm8211): Cannot enable new PCI device\n", | 1794 | printk(KERN_ERR "%s (adm8211): Cannot enable new PCI device\n", |
@@ -2051,10 +2040,6 @@ static struct pci_driver adm8211_driver = { | |||
2051 | 2040 | ||
2052 | static int __init adm8211_init(void) | 2041 | static int __init adm8211_init(void) |
2053 | { | 2042 | { |
2054 | #ifdef MODULE | ||
2055 | printk(version); | ||
2056 | #endif | ||
2057 | |||
2058 | return pci_register_driver(&adm8211_driver); | 2043 | return pci_register_driver(&adm8211_driver); |
2059 | } | 2044 | } |
2060 | 2045 | ||