diff options
Diffstat (limited to 'drivers/net/pcmcia/axnet_cs.c')
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index c34547c79245..5ca0d5718583 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -302,7 +302,6 @@ static void axnet_config(dev_link_t *link) | |||
302 | cisparse_t parse; | 302 | cisparse_t parse; |
303 | int i, j, last_ret, last_fn; | 303 | int i, j, last_ret, last_fn; |
304 | u_short buf[64]; | 304 | u_short buf[64]; |
305 | config_info_t conf; | ||
306 | 305 | ||
307 | DEBUG(0, "axnet_config(0x%p)\n", link); | 306 | DEBUG(0, "axnet_config(0x%p)\n", link); |
308 | 307 | ||
@@ -321,10 +320,6 @@ static void axnet_config(dev_link_t *link) | |||
321 | /* Configure card */ | 320 | /* Configure card */ |
322 | link->state |= DEV_CONFIG; | 321 | link->state |= DEV_CONFIG; |
323 | 322 | ||
324 | /* Look up current Vcc */ | ||
325 | CS_CHECK(GetConfigurationInfo, pcmcia_get_configuration_info(handle, &conf)); | ||
326 | link->conf.Vcc = conf.Vcc; | ||
327 | |||
328 | tuple.DesiredTuple = CISTPL_CFTABLE_ENTRY; | 323 | tuple.DesiredTuple = CISTPL_CFTABLE_ENTRY; |
329 | tuple.Attributes = 0; | 324 | tuple.Attributes = 0; |
330 | CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(handle, &tuple)); | 325 | CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(handle, &tuple)); |