pcmcia: pcmcia_config_loop() ConfigIndex unification
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / orinoco_cs.c
index 473370c9e0d6424953b0a7239a8967292674d817..67a172dfb2db4840b9fe28b25cd675d309b66f17 100644 (file)
@@ -179,7 +179,6 @@ static int orinoco_cs_config_check(struct pcmcia_device *p_dev,
                cfg_mem->dflt = *cfg;
        if (cfg->index == 0)
                goto next_entry;
-       p_dev->conf.ConfigIndex = cfg->index;
 
        /* Use power settings for Vcc and Vpp if present */
        /* Note that the CIS values need to be rescaled */