linux-nat.c (linux_nat_thread_address_space): Delete dead code.
authorDoug Evans <xdje42@gmail.com>
Mon, 11 Aug 2014 04:09:29 +0000 (21:09 -0700)
committerDoug Evans <xdje42@gmail.com>
Mon, 11 Aug 2014 04:09:29 +0000 (21:09 -0700)
gdb/ChangeLog
gdb/linux-nat.c

index 0e30fe0..33b6f54 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-10  Doug Evans  <xdje42@gmail.com>
+
+       * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
+
 2014-08-09  Yao Qi  <yao@codesourcery.com>
 
        PR remote/9053
index 7189af1..1e8991d 100644 (file)
@@ -4836,7 +4836,6 @@ linux_nat_thread_address_space (struct target_ops *t, ptid_t ptid)
   struct inferior *inf;
   int pid;
 
-  pid = ptid_get_lwp (ptid);
   if (ptid_get_lwp (ptid) == 0)
     {
       /* An (lwpid,0,0) ptid.  Look up the lwp object to get at the