diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-10-25 20:54:48 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-26 16:06:58 (GMT) |
commit | 1d08782c0ed0b5c52488dac3ae12944cc8ff39e8 (patch) | |
tree | fe7704b7bfc83db1e8cd0c6a3ae52238831d4a7b | |
parent | cd2112220b6b0a35fa12ba988a0dd837515dfaf8 (diff) | |
download | linux-fsl-qoriq-1d08782c0ed0b5c52488dac3ae12944cc8ff39e8.tar.xz |
staging: csr: remove CsrMutexLock function
nobody inside the csr directory is calling this function, so remove this
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/csr/csr_framework_ext.c | 28 | ||||
-rw-r--r-- | drivers/staging/csr/csr_framework_ext.h | 15 |
2 files changed, 0 insertions, 43 deletions
diff --git a/drivers/staging/csr/csr_framework_ext.c b/drivers/staging/csr/csr_framework_ext.c index e62878e..2033e97 100644 --- a/drivers/staging/csr/csr_framework_ext.c +++ b/drivers/staging/csr/csr_framework_ext.c @@ -62,34 +62,6 @@ void CsrMutexDestroy(CsrMutexHandle *mutexHandle) /*----------------------------------------------------------------------------* * NAME - * CsrMutexLock - * - * DESCRIPTION - * Lock 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 CsrMutexLock(CsrMutexHandle *mutexHandle) -{ - if (mutexHandle == NULL) - { - return CSR_FE_RESULT_INVALID_POINTER; - } - - if (down_interruptible(mutexHandle)) - { - return CSR_FE_RESULT_INVALID_POINTER; - } - - return CSR_RESULT_SUCCESS; -} - -/*----------------------------------------------------------------------------* - * NAME * CsrMutexUnlock * * DESCRIPTION diff --git a/drivers/staging/csr/csr_framework_ext.h b/drivers/staging/csr/csr_framework_ext.h index 16635a9..a49e459 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 - * CsrMutexLock - * - * DESCRIPTION - * Lock 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 CsrMutexLock(CsrMutexHandle *mutexHandle); - -/*----------------------------------------------------------------------------* - * NAME * CsrMutexUnlock * * DESCRIPTION |