Workaround for gcc on alpha/ia64.
(warning: `xferq' might be used uninitialized in this function)
This commit is contained in:
parent
05a1bfa142
commit
9925de2808
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user