aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/solos-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/solos-pci.c')
-rw-r--r--drivers/atm/solos-pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index cd0ff66469b..5d1d0764513 100644
--- a/drivers/atm/solos-pci.c
+++ b/drivers/atm/solos-pci.c
@@ -527,7 +527,6 @@ static int flash_upgrade(struct solos_card *card, int chip)
527{ 527{
528 const struct firmware *fw; 528 const struct firmware *fw;
529 const char *fw_name; 529 const char *fw_name;
530 uint32_t data32 = 0;
531 int blocksize = 0; 530 int blocksize = 0;
532 int numblocks = 0; 531 int numblocks = 0;
533 int offset; 532 int offset;
@@ -576,7 +575,7 @@ static int flash_upgrade(struct solos_card *card, int chip)
576 575
577 dev_info(&card->dev->dev, "Changing FPGA to Update mode\n"); 576 dev_info(&card->dev->dev, "Changing FPGA to Update mode\n");
578 iowrite32(1, card->config_regs + FPGA_MODE); 577 iowrite32(1, card->config_regs + FPGA_MODE);
579 data32 = ioread32(card->config_regs + FPGA_MODE); 578 (void) ioread32(card->config_regs + FPGA_MODE);
580 579
581 /* Set mode to Chip Erase */ 580 /* Set mode to Chip Erase */
582 if(chip == 0 || chip == 2) 581 if(chip == 0 || chip == 2)