Remove "register_t eflags; eflags = read_eflags();" because 1) it wasn't
subsequently used in the code, and 2) it doesn't compile on !i386.
This commit is contained in:
parent
69271da461
commit
dbfcb6b2db
@ -2768,7 +2768,6 @@ cd_getreg(com, reg)
|
||||
struct com_s *basecom;
|
||||
u_char car;
|
||||
int cy_align;
|
||||
register_t eflags;
|
||||
cy_addr iobase;
|
||||
#ifdef SMP
|
||||
int need_unlock;
|
||||
@ -2779,7 +2778,6 @@ cd_getreg(com, reg)
|
||||
car = com->unit & CD1400_CAR_CHAN;
|
||||
cy_align = com->cy_align;
|
||||
iobase = com->iobase;
|
||||
eflags = read_eflags();
|
||||
critical_enter();
|
||||
#ifdef SMP
|
||||
need_unlock = 0;
|
||||
@ -2808,7 +2806,6 @@ cd_setreg(com, reg, val)
|
||||
struct com_s *basecom;
|
||||
u_char car;
|
||||
int cy_align;
|
||||
register_t eflags;
|
||||
cy_addr iobase;
|
||||
#ifdef SMP
|
||||
int need_unlock;
|
||||
@ -2818,7 +2815,6 @@ cd_setreg(com, reg, val)
|
||||
car = com->unit & CD1400_CAR_CHAN;
|
||||
cy_align = com->cy_align;
|
||||
iobase = com->iobase;
|
||||
eflags = read_eflags();
|
||||
critical_enter();
|
||||
#ifdef SMP
|
||||
need_unlock = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user