]> err.no Git - linux-2.6/commitdiff
[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 434f7d7ad8416c0f72132c8cfd90677b02afb21a..0e81312f0d43a5e5edd3fa949143eb3a6472f156 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 f7b77ce54d7bee77aafbbf541bfb77722593d951..a15c5d3361d8ffa2ff9262b7968f484b06e7bfa9 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.