From 24d8170fa18e3bad9ef2fa1e100e34e93a6c1126 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 9 Nov 2013 05:29:01 +0100 Subject: Remove lint code --- vm/vm_object.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'vm/vm_object.c') diff --git a/vm/vm_object.c b/vm/vm_object.c index 18a909f8..600aff24 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; } -- cgit v1.2.3