[PATCH] orinoco: Remove useless CIS validation
authorPavel Roskin <proski@gnu.org>
Fri, 7 Apr 2006 08:10:19 +0000 (04:10 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Apr 2006 20:15:49 +0000 (16:15 -0400)
The PCMCIA drivers would never be loaded if the CIS were wrong.
No other PCMCIA drivers validate CIS.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco_cs.c
drivers/net/wireless/spectrum_cs.c

index 434f7d7..0e81312 100644 (file)
@@ -178,13 +178,10 @@ orinoco_cs_config(struct pcmcia_device *link)
        int last_fn, last_ret;
        u_char buf[64];
        config_info_t conf;
-       cisinfo_t info;
        tuple_t tuple;
        cisparse_t parse;
        void __iomem *mem;
 
-       CS_CHECK(ValidateCIS, pcmcia_validate_cis(link, &info));
-
        /*
         * This reads the card's CONFIG tuple to find its
         * configuration registers.
index f7b77ce..a15c5d3 100644 (file)
@@ -653,13 +653,10 @@ spectrum_cs_config(struct pcmcia_device *link)
        int last_fn, last_ret;
        u_char buf[64];
        config_info_t conf;
-       cisinfo_t info;
        tuple_t tuple;
        cisparse_t parse;
        void __iomem *mem;
 
-       CS_CHECK(ValidateCIS, pcmcia_validate_cis(link, &info));
-
        /*
         * This reads the card's CONFIG tuple to find its
         * configuration registers.