Marin Ramesa, le Thu 05 Dec 2013 22:03:26 +0100, a écrit :
> * i386/i386at/com.c (comtimer_state): Remove variable.
> (comtimer_state): Remove dead assignment.
Now still used.
> ---
> i386/i386at/com.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/i386/i386at/com.c b/i386/i386at/com.c
> index 62aa85c..2df6682 100644
> --- a/i386/i386at/com.c
> +++ b/i386/i386at/com.c
> @@ -64,7 +64,6 @@ struct tty com_tty[NCOM];
> int commodem[NCOM];
> int comcarrier[NCOM] = {0, 0,};
> boolean_t comfifo[NCOM];
> -int comtimer_state[NCOM];
>
> #define RCBAUD B9600
> static int rcline = -1;
> @@ -507,7 +506,6 @@ int unit;
> break;
>
> case TRAi:
> - comtimer_state[unit] = 0;
> tp->t_state &= ~(TS_BUSY|TS_FLUSH);
> tt_write_wakeup(tp);
> (void) comstart(tp);
> --
> 1.8.1.4
>
>
--
Samuel
"I don't know why, but first C programs tend to look a lot worse than
first programs in any other language (maybe except for fortran, but then
I suspect all fortran programs look like `firsts')"
(By Olaf Kirch)