From bd529ffaff2c0e714ba5005fb6809fb35047252b Mon Sep 17 00:00:00 2001 From: j30052480 Date: Mon, 24 Jun 2024 17:53:56 +0800 Subject: [PATCH] fix: revert delay before kill host Signed-off-by: j30052480 --- adapter/uhdf2/manager/src/driver_installer_full.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/adapter/uhdf2/manager/src/driver_installer_full.c b/adapter/uhdf2/manager/src/driver_installer_full.c index 010cf9c15..6778367ed 100644 --- a/adapter/uhdf2/manager/src/driver_installer_full.c +++ b/adapter/uhdf2/manager/src/driver_installer_full.c @@ -19,7 +19,6 @@ #include "hdf_log.h" #include "osal_mem.h" #include "service_control.h" -#include "osal_time.h" #define HDF_LOG_TAG driver_installer_full #define MAX_CMD_LEN 256 @@ -36,11 +35,9 @@ int DriverInstallerFullStartDeviceHost(uint32_t devHostId, const char* devHostNa return HDF_SUCCESS; } -#define WAIT_DFX_SLEEP_TIME 1000 // ms int DriverInstallerFullStopDeviceHost(uint32_t devHostId, const char* devHostName) { int ret; - OsalMSleep(WAIT_DFX_SLEEP_TIME); // wait dfx catch faultlog ret = ServiceControlWithExtra(devHostName, STOP, NULL, 0); HDF_LOGI("%{public}s %{public}s %{public}d %{public}d", __func__, devHostName, devHostId, ret); return ret; -- Gitee