diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-12 18:27:03 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-15 20:08:20 +0100 |
commit | 62c46407612daa716a6e0e7fd79a33a87a408578 (patch) | |
tree | dea1bc18c6408bf27572ac9fa013b98c46b5f019 /ddb | |
parent | 646001c0ed11c000d6a6c71594f89eeee3fd733f (diff) |
ddb/db_break.c (db_find_breakpoint_here): remove unnecessary casts
Variable addr and member address are already of db_addr_t type which
is type defined as vm_offset_t.
* ddb/db_break.c (db_find_breakpoint_here) (DB_PHYS_EQ) (addr, address): Remove unecessary casts.
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_break.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_break.c b/ddb/db_break.c index 0d09942..854d054 100644 --- a/ddb/db_break.c +++ b/ddb/db_break.c @@ -379,7 +379,7 @@ db_find_breakpoint_here(task, addr) && bkpt->address == addr) return(TRUE); if ((bkpt->flags & BKPT_USR_GLOBAL) == 0 && - DB_PHYS_EQ(task, (vm_offset_t)addr, bkpt->task, (vm_offset_t)bkpt->address)) + DB_PHYS_EQ(task, addr, bkpt->task, bkpt->address)) return (TRUE); } return(FALSE); |