netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][ATM]: [ambassador] remove warnings related to unused variables
@ 2004-09-23 18:43 chas williams (contractor)
  2004-09-23 20:32 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: chas williams (contractor) @ 2004-09-23 18:43 UTC (permalink / raw)
  To: netdev; +Cc: davem

dave,

please apply to 2.x.

thanks!

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/23 10:37:44-04:00 chas@relax.cmf.nrl.navy.mil 
#   [ATM]: [ambassador] remove warnings related to unused variables
# 
diff -Nru a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c
--- a/drivers/atm/ambassador.c	2004-09-23 14:38:52 -04:00
+++ b/drivers/atm/ambassador.c	2004-09-23 14:38:52 -04:00
@@ -2291,11 +2291,10 @@
 
 	// read resources from PCI configuration space
 	u8 irq = pci_dev->irq;
-	u32 * membase = bus_to_virt (pci_resource_start (pci_dev, 0));
-	u32 iobase = pci_resource_start (pci_dev, 1);
 
 	PRINTD (DBG_INFO, "found Madge ATM adapter (amb) at"
-		" IO %x, IRQ %u, MEM %p", iobase, irq, membase);
+		" IO %x, IRQ %u, MEM %p", pci_resource_start(pci_dev, 1),
+		irq, bus_to_virt(pci_resource_start(pci_dev, 0)));
 
 	// check IO region
 	err = pci_request_region(pci_dev, 1, DEV_LABEL);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][ATM]: [ambassador] remove warnings related to unused variables
  2004-09-23 18:43 [PATCH][ATM]: [ambassador] remove warnings related to unused variables chas williams (contractor)
@ 2004-09-23 20:32 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-09-23 20:32 UTC (permalink / raw)
  To: chas3; +Cc: chas, netdev, davem

On Thu, 23 Sep 2004 14:43:11 -0400
"chas williams (contractor)" <chas@cmf.nrl.navy.mil> wrote:

> # ChangeSet
> #   2004/09/23 10:37:44-04:00 chas@relax.cmf.nrl.navy.mil 
> #   [ATM]: [ambassador] remove warnings related to unused variables

Applied, thanks Chas.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-23 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-23 18:43 [PATCH][ATM]: [ambassador] remove warnings related to unused variables chas williams (contractor)
2004-09-23 20:32 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).