You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] pcmcia: remove unneeded Vcc pseudo setting
As we do not allow setting Vcc in the pcmcia core, and Vpp1 and Vpp2 can only be set to the same value, a lot of code can be streamlined. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
@@ -531,7 +531,6 @@ static void pcnet_config(dev_link_t *link)
|
||||
int i, last_ret, last_fn, start_pg, stop_pg, cm_offset;
|
||||
int manfid = 0, prodid = 0, has_shmem = 0;
|
||||
u_short buf[64];
|
||||
config_info_t conf;
|
||||
hw_info_t *hw_info;
|
||||
|
||||
DEBUG(0, "pcnet_config(0x%p)\n", link);
|
||||
@@ -550,10 +549,6 @@ static void pcnet_config(dev_link_t *link)
|
||||
/* Configure card */
|
||||
link->state |= DEV_CONFIG;
|
||||
|
||||
/* Look up current Vcc */
|
||||
CS_CHECK(GetConfigurationInfo, pcmcia_get_configuration_info(handle, &conf));
|
||||
link->conf.Vcc = conf.Vcc;
|
||||
|
||||
tuple.DesiredTuple = CISTPL_MANFID;
|
||||
tuple.Attributes = TUPLE_RETURN_COMMON;
|
||||
if ((pcmcia_get_first_tuple(handle, &tuple) == CS_SUCCESS) &&
|
||||
|
||||
Reference in New Issue
Block a user