[PATCH v2 6/6] server: Remove no longer used unlink_object request.

Zebediah Figura z.figura12 at gmail.com
Wed Jul 15 20:27:58 CDT 2020


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 server/directory.c  | 12 ------------
 server/protocol.def |  6 ------
 2 files changed, 18 deletions(-)

diff --git a/server/directory.c b/server/directory.c
index 4d38393a6c8..198fc48ece2 100644
--- a/server/directory.c
+++ b/server/directory.c
@@ -534,18 +534,6 @@ DECL_HANDLER(get_directory_entry)
     }
 }
 
-/* unlink a named object */
-DECL_HANDLER(unlink_object)
-{
-    struct object *obj = get_handle_obj( current->process, req->handle, 0, NULL );
-
-    if (obj)
-    {
-        unlink_named_object( obj );
-        release_object( obj );
-    }
-}
-
 /* query object type name information */
 DECL_HANDLER(get_object_type)
 {
diff --git a/server/protocol.def b/server/protocol.def
index 9c8aec6960b..4a59c327287 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -3442,12 +3442,6 @@ struct handle_info
 @END
 
 
-/* Unlink a named object */
- at REQ(unlink_object)
-    obj_handle_t   handle;        /* handle to the object */
- at END
-
-
 /* Query the impersonation level of an impersonation token */
 @REQ(get_token_impersonation_level)
     obj_handle_t   handle;        /* handle to the object */
-- 
2.27.0




More information about the wine-devel mailing list