projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc1199
)
libertas: remove some dead code in if_spi_prog_helper_firmware()
author
Dan Carpenter
<error27@gmail.com>
Sat, 6 Aug 2011 14:23:44 +0000
(07:23 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 9 Aug 2011 19:52:09 +0000
(15:52 -0400)
We always hit the goto and skip the printk(). The original code does
the right thing even though it looks messy.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/if_spi.c
b/drivers/net/wireless/libertas/if_spi.c
index e0286cfbc91d1e3a9001ccf16dd68193ed729064..622ae6de0d8bfc31161ba687f0e4f35a0976b08d 100644
(file)
--- a/
drivers/net/wireless/libertas/if_spi.c
+++ b/
drivers/net/wireless/libertas/if_spi.c
@@
-531,10
+531,6
@@
static int if_spi_prog_helper_firmware(struct if_spi_card *card,
goto out;
err = spu_write_u16(card, IF_SPI_CARD_INT_CAUSE_REG,
IF_SPI_CIC_CMD_DOWNLOAD_OVER);
- goto out;
-
- lbs_deb_spi("waiting for helper to boot...\n");
-
out:
if (err)
pr_err("failed to load helper firmware (err=%d)\n", err);