X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/143464d58d2bd6378e74eec636961ceb0d32fb91..fe8ab488e9161c46dd9885d58fc52996dc0249ff:/osfmk/kern/host.c diff --git a/osfmk/kern/host.c b/osfmk/kern/host.c index e61673978..0fa13c974 100644 --- a/osfmk/kern/host.c +++ b/osfmk/kern/host.c @@ -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; }