mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ppc_detect_fifo: eliminate write only variable cc
Sponsored by: Netflix
This commit is contained in:
parent
de80fb0ace
commit
94885fbd04
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ static int
|
|||
ppc_detect_fifo(struct ppc_data *ppc)
|
||||
{
|
||||
char ecr_sav;
|
||||
char ctr_sav, ctr, cc;
|
||||
char ctr_sav, ctr;
|
||||
short i;
|
||||
|
||||
/* save registers */
|
||||
|
|
@ -194,7 +194,7 @@ ppc_detect_fifo(struct ppc_data *ppc)
|
|||
for (i=0; i<1024; i++) {
|
||||
if (r_ecr(ppc) & PPC_FIFO_EMPTY)
|
||||
break;
|
||||
cc = r_fifo(ppc);
|
||||
r_fifo(ppc);
|
||||
}
|
||||
|
||||
if (i >= 1024) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue