[PATCH] [2/6] Remove unused "dev" argument from cb_setup_cis_mem

From: Russell King (rmk@arm.linux.org.uk)
Date: Sun Feb 23 2003 - 10:20:21 EST


This patch appears not to be in 2.5.62, but applies cleanly.

Subject: [2/6] Remove unused "dev" argument from cb_setup_cis_mem
cb_setup_cis_mem doesn't reference the pci device. Remove this unused
argument.

 drivers/pcmcia/cardbus.c | 4 ++--
 1 files changed, 2 insertions, 2 deletions

diff -ur -x sa11* -x Kconfig -x Makefile orig/drivers/pcmcia/cardbus.c linux/drivers/pcmcia/cardbus.c
--- orig/drivers/pcmcia/cardbus.c Sun Feb 23 12:39:27 2003
+++ linux/drivers/pcmcia/cardbus.c Sun Feb 23 12:17:52 2003
@@ -146,7 +146,7 @@
         }
 }
 
-static int cb_setup_cis_mem(socket_info_t * s, struct pci_dev *dev, struct resource *res)
+static int cb_setup_cis_mem(socket_info_t * s, struct resource *res)
 {
         unsigned int start, size;
 
@@ -201,7 +201,7 @@
         if (!res->flags)
                 goto fail;
 
- if (cb_setup_cis_mem(s, dev, res) != 0)
+ if (cb_setup_cis_mem(s, res) != 0)
                 goto fail;
 
         if (space == 7) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:38 EST