Fix a warning - make sure the register is read regardless of the debugging
options.
This commit is contained in:
parent
28b30d72a3
commit
69f3b492e8
@ -293,7 +293,8 @@ sscapeintr(int irq)
|
||||
{
|
||||
u_char bits, tmp;
|
||||
|
||||
DEB(printf("sscapeintr(0x%02x)\n", (bits = sscape_read(devc, GA_INTSTAT_REG))));
|
||||
bits = sscape_read(devc, GA_INTSTAT_REG);
|
||||
DEB(printf("sscapeintr(0x%02x)\n", bits));
|
||||
if ((sscape_sleep_flag.mode & WK_SLEEP)) {
|
||||
sscape_sleep_flag.mode = WK_WAKEUP;
|
||||
wakeup(sscape_sleeper);
|
||||
|
Loading…
x
Reference in New Issue
Block a user