]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/host.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / osfmk / kern / host.c
index e61673978a79786ccc6c01e82c8ed693fd2b6c84..0fa13c974f83e79d535eed1d2d9d70a26c03d733 100644 (file)
@@ -933,8 +933,6 @@ host_set_special_port(
 {
        if (host_priv == HOST_PRIV_NULL ||
            id <= HOST_MAX_SPECIAL_KERNEL_PORT || id > HOST_MAX_SPECIAL_PORT ) {
-               if (IP_VALID(port))
-                       ipc_port_release_send(port);
                return KERN_INVALID_ARGUMENT;
        }