diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2023-01-04 17:09:28 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2023-02-02 16:11:45 +0100 |
commit | b42bc0b95dcc5fac60d52e956056fd46bfe2beb9 (patch) | |
tree | 3e739e1d609a669cdfef21ffb302fcfb92423ada /kernel/ethosu_network_info.c | |
parent | a70bfde653b44763e2f4d230d30aa8382c1ac5f9 (diff) | |
download | ethos-u-linux-driver-stack-b42bc0b95dcc5fac60d52e956056fd46bfe2beb9.tar.gz |
Removing watchdog and reset
Removing watchdog and firmware reset as a preparations for the
migrations to rpmsg.
Change-Id: Ic1053e3f4301ecadbde8c59dbaed437625a0a5ea
Diffstat (limited to 'kernel/ethosu_network_info.c')
-rw-r--r-- | kernel/ethosu_network_info.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/kernel/ethosu_network_info.c b/kernel/ethosu_network_info.c index a99ca84..5469b6c 100644 --- a/kernel/ethosu_network_info.c +++ b/kernel/ethosu_network_info.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 ARM Limited. + * Copyright 2022-2023 Arm Limited and/or its affiliates * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software @@ -52,24 +52,6 @@ static void ethosu_network_info_fail(struct ethosu_mailbox_msg *msg) complete(&info->done); } -static int ethosu_network_info_resend(struct ethosu_mailbox_msg *msg) -{ - struct ethosu_network_info *info = - container_of(msg, typeof(*info), msg); - int ret; - - /* Don't resend request if response has already been received */ - if (completion_done(&info->done)) - return 0; - - /* Resend request */ - ret = ethosu_network_info_send(info); - if (ret) - return ret; - - return 0; -} - int ethosu_network_info_request(struct ethosu_network *net, struct ethosu_uapi_network_info *uapi) { @@ -86,7 +68,6 @@ int ethosu_network_info_request(struct ethosu_network *net, info->uapi = uapi; init_completion(&info->done); info->msg.fail = ethosu_network_info_fail; - info->msg.resend = ethosu_network_info_resend; ret = ethosu_mailbox_register(&info->edev->mailbox, &info->msg); if (ret < 0) |