Commit 7c2c2eb7 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

Staging: cx25821: Hoist assign from if

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 646755ad
...@@ -1299,7 +1299,8 @@ int cx25821_risc_databuffer_audio(struct pci_dev *pci, ...@@ -1299,7 +1299,8 @@ int cx25821_risc_databuffer_audio(struct pci_dev *pci,
instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; instructions = 1 + (bpl * lines) / PAGE_SIZE + lines;
instructions += 1; instructions += 1;
if ((rc = btcx_riscmem_alloc(pci, risc, instructions * 12)) < 0) rc = btcx_riscmem_alloc(pci, risc, instructions * 12);
if (rc < 0)
return rc; return rc;
/* write risc instructions */ /* write risc instructions */
......
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