[PATCH 5/5] os: Remove unused dev_tty_from_init variable

Jamey Sharp jamey at minilop.net
Fri Jun 11 11:48:14 PDT 2010


This has apparently never been used at any point in the xserver git history.

Reviewed-by: Jamey Sharp <jamey at minilop.net>

On Fri, Jun 11, 2010 at 11:22 AM, Mikhail Gusarov
<dottedmag at dottedmag.net> wrote:
> Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
> ---
>  os/utils.c |    5 +----
>  1 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/os/utils.c b/os/utils.c
> index 7523d9e..84136bd 100644
> --- a/os/utils.c
> +++ b/os/utils.c
> @@ -205,8 +205,6 @@ int auditTrailLevel = 1;
>  #define HAS_SAVED_IDS_AND_SETEUID
>  #endif
>
> -static char *dev_tty_from_init = NULL; /* since we need to parse it anyway */
> -
>  OsSigHandlerPtr
>  OsSignal(int sig, OsSigHandlerPtr handler)
>  {
> @@ -879,8 +877,7 @@ ProcessCommandLine(int argc, char *argv[])
>        }
>        else if (strncmp (argv[i], "tty", 3) == 0)
>        {
> -           /* just in case any body is interested */
> -           dev_tty_from_init = argv[i];
> +            /* init supplies us with this useless information */
>        }
>  #ifdef XDMCP
>        else if ((skip = XdmcpOptions(argc, argv, i)) != i)
> --
> 1.7.1
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>


More information about the xorg-devel mailing list