]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/open-amp.git/blobdiff - lib/system/generic/env.c
Remove OpenAMP env mutex implementation
[processor-sdk/open-amp.git] / lib / system / generic / env.c
index 20e0897882c7898d90f7421372aada3ea2942630..0e6a36ed6fe8c1f40311b716d8112cccece29f44 100755 (executable)
@@ -229,56 +229,6 @@ void *env_map_patova(unsigned long address)
        return platform_patova(address);
 }
 
-/**
- * env_create_mutex
- *
- * Creates a mutex with the given initial count.
- *
- */
-int env_create_mutex(void **lock, int count)
-{
-       (void)lock;
-       (void)count;
-
-       return 0;
-}
-
-/**
- * env_delete_mutex
- *
- * Deletes the given lock
- *
- */
-void env_delete_mutex(void *lock)
-{
-       (void)lock;
-}
-
-/**
- * env_lock_mutex
- *
- * Tries to acquire the lock, if lock is not available then call to
- * this function will suspend.
- */
-void env_lock_mutex(void *lock)
-{
-       (void)lock;
-
-       env_disable_interrupts();
-}
-
-/**
- * env_unlock_mutex
- *
- * Releases the given lock.
- */
-
-void env_unlock_mutex(void *lock)
-{
-       (void)lock;
-       env_restore_interrupts();
-}
-
 /**
  * env_create_sync_lock
  *