Browse Source

[PATCH] orinoco: Remove useless CIS validation

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>
Pavel Roskin 19 năm trước cách đây
mục cha
commit
a6e26e8ddb
2 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 3
      drivers/net/wireless/orinoco_cs.c
  2. 0 3
      drivers/net/wireless/spectrum_cs.c

+ 0 - 3
drivers/net/wireless/orinoco_cs.c

@@ -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.

+ 0 - 3
drivers/net/wireless/spectrum_cs.c

@@ -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.