Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337292
b: refs/heads/master
c: ce1f5b8
h: refs/heads/master
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Oct 26, 2012
1 parent e47fb7f commit bb0a10b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 56 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d08782c0ed0b5c52488dac3ae12944cc8ff39e8
refs/heads/master: ce1f5b80a1954c07b80fa8b778690f778da663d6
25 changes: 0 additions & 25 deletions trunk/drivers/staging/csr/csr_framework_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,31 +60,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
Expand Down
30 changes: 0 additions & 30 deletions trunk/drivers/staging/csr/csr_framework_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,6 @@ void CsrEventDestroy(CsrEventHandle *eventHandle);
*----------------------------------------------------------------------------*/
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
Expand All @@ -139,21 +124,6 @@ CsrResult CsrMutexUnlock(CsrMutexHandle *mutexHandle);
*----------------------------------------------------------------------------*/
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
Expand Down

0 comments on commit bb0a10b

Please sign in to comment.