[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 32/66] i386/i386at/com.c: remove dead assignment
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 32/66] i386/i386at/com.c: remove dead assignment |
Date: |
Mon, 9 Dec 2013 00:02:00 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
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)
- [PATCH 26/66] i386/i386/pic.c: remove unused variables, (continued)
- [PATCH 26/66] i386/i386/pic.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 27/66] i386/i386/pit.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 29/66] i386/i386/trap.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 28/66] i386/i386/trap.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 30/66] i386/i386/user_ldt.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 31/66] i386/i386at/com.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 32/66] i386/i386at/com.c: remove dead assignment, Marin Ramesa, 2013/12/05
- Re: [PATCH 32/66] i386/i386at/com.c: remove dead assignment,
Samuel Thibault <=
- [PATCH 33/66] i386/i386at/immc.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 34/66] i386/i386at/model_dep.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 40/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 41/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 43/66] i386/i386at/rtc.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 42/66] i386/i386at/lpr.c: remove uninitialized variable, Marin Ramesa, 2013/12/05
- [PATCH 44/66] i386/i386at/rtc.c: remove unused variable, Marin Ramesa, 2013/12/05