bootstrap: remove old request handler code
This commit is contained in:
@@ -203,31 +203,6 @@ int main(
|
||||
|
||||
while (1) {
|
||||
fs_context_handle_request(fs);
|
||||
#if 0
|
||||
xpc_msg_t msg;
|
||||
kern_status_t status = xpc_msg_recv(channel, &msg);
|
||||
if (status != KERN_OK) {
|
||||
kern_logf("message recv error %d", status);
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (msg.msg_header.hdr_interface) {
|
||||
case INTERFACE_FS:
|
||||
status = fs_context_dispatch_msg(fs, &msg);
|
||||
break;
|
||||
default:
|
||||
kern_logf(
|
||||
"unknown message protocol %u",
|
||||
msg.msg_header.hdr_interface);
|
||||
xpc_msg_reply_error(&msg, KERN_UNSUPPORTED);
|
||||
break;
|
||||
}
|
||||
|
||||
if (status != KERN_OK) {
|
||||
kern_logf("message reply error %d", status);
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user