[PATCH:xinit] Merge adjacent if (timeout) blocks

Dirk Wallenstein halsmit at t-online.de
Sat Jan 29 01:54:30 PST 2011


On Fri, Jan 28, 2011 at 06:53:53PM -0800, Alan Coopersmith wrote:
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  xinit.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/xinit.c b/xinit.c
> index 2b3842e..42ff008 100644
> --- a/xinit.c
> +++ b/xinit.c
> @@ -380,9 +380,8 @@ processTimeout(int timeout, char *string)
>              else
>                  fprintf(stderr, ".");
>              fflush(stderr);
> -        }
> -        if (timeout)
>              sleep(1);
> +        }
>          if (++i > timeout)
>              break;
>      }
> -- 
> 1.7.3.2
> 

Reviewed-by: Dirk Wallenstein <halsmit at t-online.de>

-- 
Greetings,
Dirk


More information about the xorg-devel mailing list