Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6e26e8d authored by Pavel Roskin's avatar Pavel Roskin Committed by John W. Linville
Browse files

[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: default avatarPavel Roskin <proski@gnu.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 7c241d37
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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.