Commit 8888fb4d authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

libertas: remove some dead code in if_spi_prog_helper_firmware()

We always hit the goto and skip the printk().  The original code does
the right thing even though it looks messy.

Signed-off-by: default avatarDan Carpenter <>
Signed-off-by: default avatarJohn W. Linville <>
parent abc11994
......@@ -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,
goto out;
lbs_deb_spi("waiting for helper to boot...\n");
if (err)
pr_err("failed to load helper firmware (err=%d)\n", err);
Supports Markdown
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