From 3beb1b6a11282506a98fe32612a082087b607804 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 21 Apr 2010 22:56:28 +0200 Subject: [PATCH] winealsa.drv: Remove dlopen call. --- dlls/winealsa.drv/waveinit.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/winealsa.drv/waveinit.c b/dlls/winealsa.drv/waveinit.c index f6c406fd05f..f2eaeceb8df 100644 --- a/dlls/winealsa.drv/waveinit.c +++ b/dlls/winealsa.drv/waveinit.c @@ -972,12 +972,6 @@ LONG ALSA_WaveInit(void) HKEY key = 0; int i; - if (!wine_dlopen("libasound.so.2", RTLD_LAZY|RTLD_GLOBAL, NULL, 0)) - { - ERR("Error: ALSA lib needs to be loaded with flags RTLD_LAZY and RTLD_GLOBAL.\n"); - return -1; - } - /* @@ Wine registry key: HKCU\Software\Wine\Alsa Driver */ rc = RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\Wine\\Alsa Driver", 0, KEY_QUERY_VALUE, &key); if (rc == ERROR_SUCCESS)