diff options
author | Devendra Naga | 2012-10-25 22:55:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-10-26 18:06:58 +0200 |
commit | ce1f5b80a1954c07b80fa8b778690f778da663d6 (patch) | |
tree | 327bc8da6e38a93213db71d26fb841c2dfc669b8 /drivers/staging/csr | |
parent | staging: csr: remove CsrMutexLock function (diff) | |
download | kernel-qcow2-linux-ce1f5b80a1954c07b80fa8b778690f778da663d6.tar.gz kernel-qcow2-linux-ce1f5b80a1954c07b80fa8b778690f778da663d6.tar.xz kernel-qcow2-linux-ce1f5b80a1954c07b80fa8b778690f778da663d6.zip |
staging: csr: remove CsrMutexUnlock function
Nobody is using this function inside the csr directory, so remove this function also
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r-- | drivers/staging/csr/csr_framework_ext.c | 25 | ||||
-rw-r--r-- | drivers/staging/csr/csr_framework_ext.h | 30 |
2 files changed, 0 insertions, 55 deletions
diff --git a/drivers/staging/csr/csr_framework_ext.c b/drivers/staging/csr/csr_framework_ext.c index 2033e9755e4f..086438feb812 100644 --- a/drivers/staging/csr/csr_framework_ext.c +++ b/drivers/staging/csr/csr_framework_ext.c @@ -62,31 +62,6 @@ void CsrMutexDestroy(CsrMutexHandle *mutexHandle) /*----------------------------------------------------------------------------* * NAME - * CsrMutexUnlock - * - * DESCRIPTION - * Unlock the mutex refered to by the provided handle. - * - * RETURNS - * Possible values: - * CSR_RESULT_SUCCESS in case of success - * CSR_FE_RESULT_INVALID_HANDLE in case the mutexHandle is invalid - * - *----------------------------------------------------------------------------*/ -CsrResult CsrMutexUnlock(CsrMutexHandle *mutexHandle) -{ - if (mutexHandle == NULL) - { - return CSR_FE_RESULT_INVALID_POINTER; - } - - up(mutexHandle); - - return CSR_RESULT_SUCCESS; -} - -/*----------------------------------------------------------------------------* - * NAME * CsrThreadSleep * * DESCRIPTION diff --git a/drivers/staging/csr/csr_framework_ext.h b/drivers/staging/csr/csr_framework_ext.h index a49e459385ba..cad0cec0be96 100644 --- a/drivers/staging/csr/csr_framework_ext.h +++ b/drivers/staging/csr/csr_framework_ext.h @@ -113,21 +113,6 @@ CsrResult CsrMutexCreate(CsrMutexHandle *mutexHandle); /*----------------------------------------------------------------------------* * NAME - * CsrMutexUnlock - * - * DESCRIPTION - * Unlock the mutex refered to by the provided handle. - * - * RETURNS - * Possible values: - * CSR_RESULT_SUCCESS in case of success - * CSR_FE_RESULT_INVALID_HANDLE in case the mutexHandle is invalid - * - *----------------------------------------------------------------------------*/ -CsrResult CsrMutexUnlock(CsrMutexHandle *mutexHandle); - -/*----------------------------------------------------------------------------* - * NAME * CsrMutexDestroy * * DESCRIPTION @@ -141,21 +126,6 @@ void CsrMutexDestroy(CsrMutexHandle *mutexHandle); /*----------------------------------------------------------------------------* * NAME - * CsrGlobalMutexLock - * - * DESCRIPTION - * Lock the global mutex. The global mutex is a single pre-initialised - * shared mutex, spinlock or similar that does not need to be created prior - * to use. The limitation is that there is only one single lock shared - * between all code. Consequently, it must only be used very briefly to - * either protect simple one-time initialisation or to protect the creation - * of a dedicated mutex by calling CsrMutexCreate. - * - *----------------------------------------------------------------------------*/ -void CsrGlobalMutexLock(void); - -/*----------------------------------------------------------------------------* - * NAME * CsrGlobalMutexUnlock * * DESCRIPTION |