mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
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:
parent
9b7ae1b443
commit
46043704da
1 changed files with 1 additions and 9 deletions
10
src/rtkit.c
10
src/rtkit.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue