Skip to content

Commit 4604370

Browse files
committed
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>
1 parent 9b7ae1b commit 4604370

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/rtkit.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -438,15 +438,7 @@ int rtkit_recv(rtkit_dev_t *rtk, struct rtkit_message *msg)
438438
}
439439
break;
440440
case RTKIT_EP_OSLOG:
441-
switch (msgtype) {
442-
case MSG_OSLOG_INIT:
443-
msg->msg = FIELD_PREP(MGMT_TYPE, MSG_OSLOG_ACK);
444-
if (!rtkit_send(rtk, msg))
445-
rtkit_printf("unable to ACK oslog init message\n");
446-
break;
447-
default:
448-
rtkit_printf("unknown oslog message %x\n", msgtype);
449-
}
441+
rtkit_printf("unknown oslog message %lx\n", msg->msg);
450442
break;
451443
default:
452444
rtkit_printf("message to unknown system endpoint 0x%02x: %lx\n", msg->ep, msg->msg);

0 commit comments

Comments
 (0)