Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337291
b: refs/heads/master
c: 1d08782
h: refs/heads/master
i:
  337289: 9d84364
  337287: 158f8dd
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Oct 26, 2012
1 parent f6bc1f3 commit e47fb7f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 44 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: cd2112220b6b0a35fa12ba988a0dd837515dfaf8
refs/heads/master: 1d08782c0ed0b5c52488dac3ae12944cc8ff39e8
28 changes: 0 additions & 28 deletions trunk/drivers/staging/csr/csr_framework_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,34 +60,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
Expand Down
15 changes: 0 additions & 15 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
* 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
Expand Down

0 comments on commit e47fb7f

Please sign in to comment.