summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2014-11-12 20:36:37 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2014-11-12 20:36:37 +0000
commitc7ea441450211a92a60c8a4ed920d1954481b366 (patch)
tree3eeb9697f3eca9021e5dab4f4ba957dc9f32f640
parentc55285a59af2a3fba41520d3ee321c74e36dbcec (diff)
downloadillumos-joyent-release-20141113.tar.gz
OS-3543 unused line of code in Pfgrab_core20141113release-20141113
-rw-r--r--usr/src/lib/libproc/common/Pcore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/lib/libproc/common/Pcore.c b/usr/src/lib/libproc/common/Pcore.c
index 008f6d7172..dbe2a6ad6d 100644
--- a/usr/src/lib/libproc/common/Pcore.c
+++ b/usr/src/lib/libproc/common/Pcore.c
@@ -2525,8 +2525,6 @@ Pfgrab_core(int core_fd, const char *aout_path, int *perr)
/* set representative thread */
(void) memcpy(&P->status.pr_lwp, &lwp->lwp_status,
sizeof (P->status.pr_lwp));
-
- lwp = list_next(&core_info->core_lwp_head);
}
if (nleft != 0) {