diff options
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/ptid.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/common/ptid.c b/gdb/common/ptid.c index 05c0db1..b56971b 100644 --- a/gdb/common/ptid.c +++ b/gdb/common/ptid.c @@ -97,10 +97,6 @@ ptid_is_pid (ptid_t ptid) int ptid_lwp_p (ptid_t ptid) { - if (ptid_equal (minus_one_ptid, ptid) - || ptid_equal (null_ptid, ptid)) - return 0; - return (ptid_get_lwp (ptid) != 0); } @@ -109,10 +105,6 @@ ptid_lwp_p (ptid_t ptid) int ptid_tid_p (ptid_t ptid) { - if (ptid_equal (minus_one_ptid, ptid) - || ptid_equal (null_ptid, ptid)) - return 0; - return (ptid_get_tid (ptid) != 0); } |