From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23866 invoked by alias); 1 May 2009 22:08:24 -0000 Received: (qmail 23856 invoked by uid 22791); 1 May 2009 22:08:23 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 May 2009 22:08:16 +0000 Received: from spaceape14.eur.corp.google.com (spaceape14.eur.corp.google.com [172.28.16.148]) by smtp-out.google.com with ESMTP id n41M8DZB002543 for ; Fri, 1 May 2009 23:08:13 +0100 Received: from localhost (ruffy.mtv.corp.google.com [172.18.118.116]) by spaceape14.eur.corp.google.com with ESMTP id n41M82dZ025209 for ; Fri, 1 May 2009 15:08:07 -0700 Received: by localhost (Postfix, from userid 67641) id EC87E84890; Fri, 1 May 2009 15:08:01 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [obv] Remove unused assignment to thread_info in thread_db_pid_to_str Message-Id: <20090501220801.EC87E84890@localhost> Date: Fri, 01 May 2009 22:08:00 -0000 From: dje@google.com (Doug Evans) X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00043.txt.bz2 Hi. Checked in as obvious. 2009-05-01 Doug Evans * linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment to thread_info. Index: linux-thread-db.c =================================================================== RCS file: /cvs/src/src/gdb/linux-thread-db.c,v retrieving revision 1.54 diff -u -p -r1.54 linux-thread-db.c --- linux-thread-db.c 27 Feb 2009 20:34:41 -0000 1.54 +++ linux-thread-db.c 1 May 2009 22:04:15 -0000 @@ -1035,7 +1035,6 @@ thread_db_pid_to_str (struct target_ops thread_t tid; tid = thread_info->private->tid; - thread_info = find_thread_pid (ptid); snprintf (buf, sizeof (buf), "Thread 0x%lx (LWP %ld)", tid, GET_LWP (ptid));