]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/atmel_cs.c
iwlwifi: Fix built-in compilation of iwlcore (part 2)
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / atmel_cs.c
index 5c410989c4d7f7bc17822eac9d9ba52f4891bb66..12617cd0b78eb0be40247cfec84e874935ef5e64 100644 (file)
@@ -243,17 +243,6 @@ static int atmel_config(struct pcmcia_device *link)
        tuple.TupleDataMax = sizeof(buf);
        tuple.TupleOffset = 0;
 
-       /*
-         This reads the card's CONFIG tuple to find its configuration
-         registers.
-       */
-       tuple.DesiredTuple = CISTPL_CONFIG;
-       CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(link, &tuple));
-       CS_CHECK(GetTupleData, pcmcia_get_tuple_data(link, &tuple));
-       CS_CHECK(ParseTuple, pcmcia_parse_tuple(link, &tuple, &parse));
-       link->conf.ConfigBase = parse.config.base;
-       link->conf.Present = parse.config.rmask[0];
-
        /*
          In this loop, we scan the CIS for configuration table entries,
          each of which describes a valid card configuration, including