Workaround for gcc on alpha/ia64.

(warning: `xferq' might be used uninitialized in this function)
This commit is contained in:
Hidetoshi Shimokawa 2003-08-01 17:19:12 +00:00
parent 05a1bfa142
commit 9925de2808

View File

@ -298,13 +298,11 @@ fwe_init(void *arg)
for (i = START; i < fc->nisodma; i ++) {
xferq = fc->ir[i];
if ((xferq->flag & FWXFERQ_OPEN) == 0)
break;
}
if (i >= fc->nisodma) {
printf("no free dma channel\n");
return;
goto found;
}
printf("no free dma channel\n");
return;
found:
fwe->dma_ch = i;
fwe->stream_ch = stream_ch;
fwe->pkt_hdr.mode.stream.chtag = fwe->stream_ch;