diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-08-01 05:21:14 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-09-29 11:20:24 -0400 |
commit | 1cc745d1cdca8086b472a06671f0830fc0e98861 (patch) | |
tree | f1d81106074d67fdab5c11da425ba0e7c27402e9 /drivers/net/wireless | |
parent | 00990e7ce0b0e596fe41d9c64d6933ea70084003 (diff) |
pcmcia: remove the "Finally, report what we've done" message
Remove this unnecessary message -- this info is either available
in sysfs or by enabling dynamic debug from the PCMCIA core.
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-scsi@vger.kernel.org
CC: linux-usb@vger.kernel.org
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/airo_cs.c | 11 | ||||
-rw-r--r-- | drivers/net/wireless/hostap/hostap_cs.c | 15 |
2 files changed, 1 insertions, 25 deletions
diff --git a/drivers/net/wireless/airo_cs.c b/drivers/net/wireless/airo_cs.c index 77682f27772b..4067bf1cdeb4 100644 --- a/drivers/net/wireless/airo_cs.c +++ b/drivers/net/wireless/airo_cs.c | |||
@@ -193,17 +193,6 @@ static int airo_config(struct pcmcia_device *link) | |||
193 | if (!((local_info_t *)link->priv)->eth_dev) | 193 | if (!((local_info_t *)link->priv)->eth_dev) |
194 | goto failed; | 194 | goto failed; |
195 | 195 | ||
196 | /* Finally, report what we've done */ | ||
197 | dev_info(&link->dev, "index 0x%02x: ", | ||
198 | link->config_index); | ||
199 | if (link->vpp) | ||
200 | printk(", Vpp %d.%d", link->vpp/10, link->vpp%10); | ||
201 | printk(", irq %d", link->irq); | ||
202 | if (link->resource[0]) | ||
203 | printk(" & %pR", link->resource[0]); | ||
204 | if (link->resource[1]) | ||
205 | printk(" & %pR", link->resource[1]); | ||
206 | printk("\n"); | ||
207 | return 0; | 196 | return 0; |
208 | 197 | ||
209 | failed: | 198 | failed: |
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c index e57b20134d39..d6ff0c7b7d94 100644 --- a/drivers/net/wireless/hostap/hostap_cs.c +++ b/drivers/net/wireless/hostap/hostap_cs.c | |||
@@ -544,19 +544,6 @@ static int prism2_config(struct pcmcia_device *link) | |||
544 | 544 | ||
545 | spin_unlock_irqrestore(&local->irq_init_lock, flags); | 545 | spin_unlock_irqrestore(&local->irq_init_lock, flags); |
546 | 546 | ||
547 | /* Finally, report what we've done */ | ||
548 | printk(KERN_INFO "%s: index 0x%02x: ", | ||
549 | dev_info, link->config_index); | ||
550 | if (link->vpp) | ||
551 | printk(", Vpp %d.%d", link->vpp / 10, | ||
552 | link->vpp % 10); | ||
553 | printk(", irq %d", link->irq); | ||
554 | if (link->resource[0]) | ||
555 | printk(" & %pR", link->resource[0]); | ||
556 | if (link->resource[1]) | ||
557 | printk(" & %pR", link->resource[1]); | ||
558 | printk("\n"); | ||
559 | |||
560 | local->shutdown = 0; | 547 | local->shutdown = 0; |
561 | 548 | ||
562 | sandisk_enable_wireless(dev); | 549 | sandisk_enable_wireless(dev); |
@@ -568,7 +555,7 @@ static int prism2_config(struct pcmcia_device *link) | |||
568 | return ret; | 555 | return ret; |
569 | 556 | ||
570 | failed_unlock: | 557 | failed_unlock: |
571 | spin_unlock_irqrestore(&local->irq_init_lock, flags); | 558 | spin_unlock_irqrestore(&local->irq_init_lock, flags); |
572 | failed: | 559 | failed: |
573 | kfree(hw_priv); | 560 | kfree(hw_priv); |
574 | prism2_release((u_long)link); | 561 | prism2_release((u_long)link); |