diff options
author | Hector Martin <marcan@marcan.st> | 2022-05-05 01:25:16 +0900 |
---|---|---|
committer | Hector Martin <marcan@marcan.st> | 2023-11-23 19:09:24 +0900 |
commit | 57b79ac9f43dc71fc8b55af51d1c9f469cb7a0de (patch) | |
tree | 91aea6bb2fe0032f0804fdb73e008d13ecc545dd /include/linux/soc | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
soc: apple: rtkit: Get rid of apple_rtkit_send_message_wait
It is fundamentally broken and has no users. Just remove it.
Acked-by: Eric Curtin <ecurtin@redhat.com>
Acked-by: Neal Gompa <neal@gompa.dev>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'include/linux/soc')
-rw-r--r-- | include/linux/soc/apple/rtkit.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/soc/apple/rtkit.h b/include/linux/soc/apple/rtkit.h index fc456f75c131..8c9ca857ccf6 100644 --- a/include/linux/soc/apple/rtkit.h +++ b/include/linux/soc/apple/rtkit.h @@ -161,24 +161,6 @@ int apple_rtkit_send_message(struct apple_rtkit *rtk, u8 ep, u64 message, struct completion *completion, bool atomic); /* - * Send a message to the given endpoint and wait until it has been submitted - * to the hardware FIFO. - * Will return zero on success and a negative error code on failure - * (e.g. -ETIME when the message couldn't be written within the given - * timeout) - * - * @rtk: RTKit reference - * @ep: target endpoint - * @message: message to be sent - * @timeout: timeout in milliseconds to allow the message transmission - * to be completed - * @atomic: if set to true this function can be called from atomic - * context. - */ -int apple_rtkit_send_message_wait(struct apple_rtkit *rtk, u8 ep, u64 message, - unsigned long timeout, bool atomic); - -/* * Process incoming messages in atomic context. * This only guarantees that messages arrive as far as the recv_message_early * callback; drivers expecting to handle incoming messages synchronously |