summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-09 05:29:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-09 18:31:41 +0100
commit24d8170fa18e3bad9ef2fa1e100e34e93a6c1126 (patch)
tree38a626d0c390757c481d8d40d15f952c8d41dc8e /vm
parentdd0989ad8e7526844fcbc2e26bbcc4cc37a010ac (diff)
Remove lint code
Diffstat (limited to 'vm')
-rw-r--r--vm/memory_object.c5
-rw-r--r--vm/vm_object.c12
2 files changed, 0 insertions, 17 deletions
diff --git a/vm/memory_object.c b/vm/memory_object.c
index e281c6a..8315182 100644
--- a/vm/memory_object.c
+++ b/vm/memory_object.c
@@ -337,11 +337,6 @@ kern_return_t memory_object_data_error(object, offset, size, error_value)
if (size != round_page(size))
return(KERN_INVALID_ARGUMENT);
-#ifdef lint
- /* Error value is ignored at this time */
- error_value++;
-#endif
-
vm_object_lock(object);
offset -= object->paging_offset;
diff --git a/vm/vm_object.c b/vm/vm_object.c
index 18a909f..600aff2 100644
--- a/vm/vm_object.c
+++ b/vm/vm_object.c
@@ -813,10 +813,6 @@ kern_return_t memory_object_destroy(
ipc_port_t old_object, old_name;
pager_request_t old_control;
-#ifdef lint
- reason++;
-#endif /* lint */
-
if (object == VM_OBJECT_NULL)
return KERN_SUCCESS;
@@ -1257,10 +1253,6 @@ boolean_t vm_object_copy_temporary(
{
vm_object_t object = *_object;
-#ifdef lint
- ++*_offset;
-#endif /* lint */
-
if (object == VM_OBJECT_NULL) {
*_src_needs_copy = FALSE;
*_dst_needs_copy = FALSE;
@@ -2823,10 +2815,6 @@ boolean_t vm_object_coalesce(
{
vm_size_t newsize;
-#ifdef lint
- next_offset++;
-#endif /* lint */
-
if (next_object != VM_OBJECT_NULL) {
return FALSE;
}