mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
pcmcia: remove unused argument to pcmcia_parse_tuple()
Since we're just parsing the tuple being passed to this function, we don't need any device-specific information. Also, remove the call to pcmcia_validate_cis() from pcmciamtd.c, since it is already called by the PCMCIA core. Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
994917f8b7
commit
2f3061eb10
15 changed files with 23 additions and 33 deletions
|
|
@ -374,7 +374,7 @@ static void card_settings(struct pcmciamtd_dev *dev, struct pcmcia_device *link,
|
|||
cs_error(link, GetTupleData, rc);
|
||||
break;
|
||||
}
|
||||
rc = pcmcia_parse_tuple(link, &tuple, &parse);
|
||||
rc = pcmcia_parse_tuple(&tuple, &parse);
|
||||
if (rc != 0) {
|
||||
cs_error(link, ParseTuple, rc);
|
||||
break;
|
||||
|
|
@ -498,11 +498,6 @@ static int pcmciamtd_config(struct pcmcia_device *link)
|
|||
|
||||
DEBUG(3, "link=0x%p", link);
|
||||
|
||||
DEBUG(2, "Validating CIS");
|
||||
ret = pcmcia_validate_cis(link, NULL);
|
||||
if (ret != 0)
|
||||
cs_error(link, GetTupleData, ret);
|
||||
|
||||
card_settings(dev, link, &new_name);
|
||||
|
||||
dev->pcmcia_map.phys = NO_XIP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue