Commit c48c5d58 authored by Markus Elfring's avatar Markus Elfring Committed by Ulf Hansson

mmc: sdricoh_cs: Delete unnecessary variable initialisations

These variables will eventually be set to an appropriate value a bit later.
* host
* iobase
* result

Thus let us omit the explicit initialisation at the beginning.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent fc77dbd3
...@@ -398,10 +398,10 @@ static struct mmc_host_ops sdricoh_ops = { ...@@ -398,10 +398,10 @@ static struct mmc_host_ops sdricoh_ops = {
static int sdricoh_init_mmc(struct pci_dev *pci_dev, static int sdricoh_init_mmc(struct pci_dev *pci_dev,
struct pcmcia_device *pcmcia_dev) struct pcmcia_device *pcmcia_dev)
{ {
int result = 0; int result;
void __iomem *iobase = NULL; void __iomem *iobase;
struct mmc_host *mmc = NULL; struct mmc_host *mmc = NULL;
struct sdricoh_host *host = NULL; struct sdricoh_host *host;
struct device *dev = &pcmcia_dev->dev; struct device *dev = &pcmcia_dev->dev;
/* map iomem */ /* map iomem */
if (pci_resource_len(pci_dev, SDRICOH_PCI_REGION) != if (pci_resource_len(pci_dev, SDRICOH_PCI_REGION) !=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment