bug-hurd
[Top][All Lists]
Advanced

[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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]