diff options
author | Richard Braun <rbraun@sceen.net> | 2012-12-09 05:18:45 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-12-09 05:18:45 +0100 |
commit | 1064aff9246c04c5c8b532c7a9fc8807eca76dbd (patch) | |
tree | 631da8f615e99fd83994f536b84d00dbd49bf52d /vm | |
parent | f2252b114cdda624ad9c674be2b7745e42586318 (diff) |
vm/vm_map: remove wrong assertion
Since the introduction of the merging functions, there can be both valid
prev and next entries passed to vm_map_link, in which case any of them
can be used to link the new entry.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_map.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index 193f1fc2..58ff2cda 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -559,8 +559,6 @@ static void vm_map_link(struct vm_map *map, struct vm_map_entry *entry, struct vm_map_entry *prev, struct vm_map_entry *next) { - assert((prev == NULL) || (next == NULL)); - if ((prev == NULL) && (next == NULL)) list_insert_tail(&map->entry_list, &entry->list_node); else if (prev == NULL) |