rtkit: Drop oslog support

Nobody can figure out where this code came from and it's broken for
devices where OSLog is actually implemented these days... let's drop it
and see if anything complains.

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2023-04-16 20:48:38 +09:00
parent 9b7ae1b443
commit 46043704da

View file

@ -438,15 +438,7 @@ int rtkit_recv(rtkit_dev_t *rtk, struct rtkit_message *msg)
}
break;
case RTKIT_EP_OSLOG:
switch (msgtype) {
case MSG_OSLOG_INIT:
msg->msg = FIELD_PREP(MGMT_TYPE, MSG_OSLOG_ACK);
if (!rtkit_send(rtk, msg))
rtkit_printf("unable to ACK oslog init message\n");
break;
default:
rtkit_printf("unknown oslog message %x\n", msgtype);
}
rtkit_printf("unknown oslog message %lx\n", msg->msg);
break;
default:
rtkit_printf("message to unknown system endpoint 0x%02x: %lx\n", msg->ep, msg->msg);