diff --git a/src/Cedar/AzureClient.c b/src/Cedar/AzureClient.c index 78d5e01b..e3376b8f 100644 --- a/src/Cedar/AzureClient.c +++ b/src/Cedar/AzureClient.c @@ -522,18 +522,6 @@ void AcMainThread(THREAD *thread, void *param) } } -// Get enabled or disabled VPN Azure client -bool AcGetEnable(AZURE_CLIENT *ac) -{ - // Validate arguments - if (ac == NULL) - { - return false; - } - - return ac->IsEnabled; -} - // Enable or disable VPN Azure client void AcSetEnable(AZURE_CLIENT *ac, bool enabled) { diff --git a/src/Cedar/AzureClient.h b/src/Cedar/AzureClient.h index ac246205..4fc31e51 100644 --- a/src/Cedar/AzureClient.h +++ b/src/Cedar/AzureClient.h @@ -166,7 +166,6 @@ void FreeAzureClient(AZURE_CLIENT *ac); void AcApplyCurrentConfig(AZURE_CLIENT *ac, DDNS_CLIENT_STATUS *ddns_status); void AcMainThread(THREAD *thread, void *param); void AcSetEnable(AZURE_CLIENT *ac, bool enabled); -bool AcGetEnable(AZURE_CLIENT *ac); void AcWaitForRequest(AZURE_CLIENT *ac, SOCK *s, AZURE_PARAM *param);