[patch] remove unused code

Mike Frysinger vapier at gentoo.org
Sun Jan 29 09:12:57 UTC 2006


On Saturday 28 January 2006 13:33, Bernhard Fischer wrote:
> --- uClibc/ldso/ldso/i386/elfinterp.c
> +++ uClibc/ldso/ldso/i386/elfinterp.c
> @@ -47,7 +47,6 @@
>  unsigned long
>  _dl_linux_resolver(struct elf_resolve *tpnt, int reloc_entry)
>  {
> -       int reloc_type;
>         ELF_RELOC *this_reloc;
>         char *strtab;
>         Elf32_Sym *symtab;
> @@ -60,7 +59,6 @@ _dl_linux_resolver(struct elf_resolve *t
> -       reloc_type = ELF32_R_TYPE(this_reloc->r_info);

wonder if we should have an unlikely check for an i386 jmp slot like we do 
with every other arch

> --- uClibc/ldso/libdl/libdl.c
> +++ uClibc/ldso/libdl/libdl.c
> @@ -233,11+233,9 @@ void *dlopen(const char *libname, int fl
> -                               char *name;
> -                               name = _dl_get_last_path_component(lpntstr);

added, thanks

> --- uClibc/libc/inet/rpc/rcmd.c
> +++ uClibc/libc/inet/rpc/rcmd.c
> -    
> +

dont include whitespace changes

>  static int  __check_rhosts_file = 1;
> -static char *__rcmd_errstr;
> -  cp = NULL;
> +
> -      __rcmd_errstr = cp;

added, thanks

> --- uClibc/libc/misc/regex/regcomp.c
> +++ uClibc/libc/misc/regex/regcomp.c
> -      int org_node, cur_node;
> -      org_node = cur_node = node;

added, thanks
-mike



More information about the uClibc mailing list