summaryrefslogtreecommitdiff
path: root/libtrivfs/mig-decls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/mig-decls.h')
-rw-r--r--libtrivfs/mig-decls.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/libtrivfs/mig-decls.h b/libtrivfs/mig-decls.h
index 19091996..230af239 100644
--- a/libtrivfs/mig-decls.h
+++ b/libtrivfs/mig-decls.h
@@ -45,9 +45,6 @@ trivfs_begin_using_protid (mach_port_t port)
for (i = 0; i < trivfs_num_dynamic_protid_port_classes; i++)
if (pi->class == trivfs_dynamic_protid_port_classes[i])
return (struct trivfs_protid *) pi;
- for (i = 0; i < trivfs_protid_nportclasses; i++)
- if (pi->class == trivfs_protid_portclasses[i])
- return (struct trivfs_protid *) pi;
ports_port_deref (pi);
}
@@ -65,9 +62,6 @@ trivfs_begin_using_protid_payload (unsigned long payload)
for (i = 0; i < trivfs_num_dynamic_protid_port_classes; i++)
if (pi->class == trivfs_dynamic_protid_port_classes[i])
return (struct trivfs_protid *) pi;
- for (i = 0; i < trivfs_protid_nportclasses; i++)
- if (pi->class == trivfs_protid_portclasses[i])
- return (struct trivfs_protid *) pi;
ports_port_deref (pi);
}
@@ -92,9 +86,6 @@ trivfs_begin_using_control (mach_port_t port)
for (i = 0; i < trivfs_num_dynamic_control_port_classes; i++)
if (pi->class == trivfs_dynamic_control_port_classes[i])
return (struct trivfs_control *) pi;
- for (i = 0; i < trivfs_cntl_nportclasses; i++)
- if (pi->class == trivfs_cntl_portclasses[i])
- return (struct trivfs_control *) pi;
ports_port_deref (pi);
}
@@ -112,9 +103,6 @@ trivfs_begin_using_control_payload (unsigned long payload)
for (i = 0; i < trivfs_num_dynamic_control_port_classes; i++)
if (pi->class == trivfs_dynamic_control_port_classes[i])
return (struct trivfs_control *) pi;
- for (i = 0; i < trivfs_cntl_nportclasses; i++)
- if (pi->class == trivfs_cntl_portclasses[i])
- return (struct trivfs_control *) pi;
ports_port_deref (pi);
}