Messages in this thread Patch in this message | | | From | Russell King <> | Subject | [PATCH] [2/6] Remove unused "dev" argument from cb_setup_cis_mem | Date | Sun, 23 Feb 2003 15:20:21 +0000 |
| |
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/
| |