svn commit: r255516 - stable/8/sys/cddl/dev/fbt
Andriy Gapon
avg at FreeBSD.org
Fri Sep 13 13:53:48 UTC 2013
Author: avg
Date: Fri Sep 13 13:53:47 2013
New Revision: 255516
URL: http://svnweb.freebsd.org/changeset/base/255516
Log:
MFC r254713: fbt: drop a local write-only variable
Modified:
stable/8/sys/cddl/dev/fbt/fbt.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/cddl/ (props changed)
Modified: stable/8/sys/cddl/dev/fbt/fbt.c
==============================================================================
--- stable/8/sys/cddl/dev/fbt/fbt.c Fri Sep 13 13:53:21 2013 (r255515)
+++ stable/8/sys/cddl/dev/fbt/fbt.c Fri Sep 13 13:53:47 2013 (r255516)
@@ -574,7 +574,6 @@ static int
fbt_ctfoff_init(modctl_t *lf, linker_ctf_t *lc)
{
const Elf_Sym *symp = lc->symtab;;
- const char *name;
const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab;
const uint8_t *ctfdata = lc->ctftab + sizeof(ctf_header_t);
int i;
@@ -606,11 +605,6 @@ fbt_ctfoff_init(modctl_t *lf, linker_ctf
continue;
}
- if (symp->st_name < lc->strcnt)
- name = lc->strtab + symp->st_name;
- else
- name = "(?)";
-
switch (ELF_ST_TYPE(symp->st_info)) {
case STT_OBJECT:
if (objtoff >= hp->cth_funcoff ||
More information about the svn-src-stable
mailing list