Skip to content

Commit

Permalink
rtkit: Drop oslog support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
marcan committed Apr 16, 2023
1 parent 9b7ae1b commit 4604370
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/rtkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4604370

Please sign in to comment.