Skip to content

Commit

Permalink
[PATCH] orinoco: Remove useless CIS validation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Roskin authored and John W. Linville committed Apr 24, 2006
1 parent 7c241d3 commit a6e26e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions drivers/net/wireless/orinoco_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 0 additions & 3 deletions drivers/net/wireless/spectrum_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a6e26e8

Please sign in to comment.