[PATCH 3/5] staging: csr: remove CsrMutexDestroy function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this function never gets called from anywhere, so remove this too.

Signed-off-by: Devendra Naga <devendra.aaru@xxxxxxxxx>
---
 drivers/staging/csr/csr_framework_ext.c |   15 ---------------
 drivers/staging/csr/csr_framework_ext.h |   13 -------------
 2 files changed, 28 deletions(-)

diff --git a/drivers/staging/csr/csr_framework_ext.c b/drivers/staging/csr/csr_framework_ext.c
index 086438f..48573f6 100644
--- a/drivers/staging/csr/csr_framework_ext.c
+++ b/drivers/staging/csr/csr_framework_ext.c
@@ -47,21 +47,6 @@ CsrResult CsrMutexCreate(CsrMutexHandle *mutexHandle)
 
 /*----------------------------------------------------------------------------*
  *  NAME
- *      CsrMutexDestroy
- *
- *  DESCRIPTION
- *      Destroy the previously created mutex.
- *
- *  RETURNS
- *      void
- *
- *----------------------------------------------------------------------------*/
-void CsrMutexDestroy(CsrMutexHandle *mutexHandle)
-{
-}
-
-/*----------------------------------------------------------------------------*
- *  NAME
  *      CsrThreadSleep
  *
  *  DESCRIPTION
diff --git a/drivers/staging/csr/csr_framework_ext.h b/drivers/staging/csr/csr_framework_ext.h
index cad0cec..83781ea 100644
--- a/drivers/staging/csr/csr_framework_ext.h
+++ b/drivers/staging/csr/csr_framework_ext.h
@@ -113,19 +113,6 @@ CsrResult CsrMutexCreate(CsrMutexHandle *mutexHandle);
 
 /*----------------------------------------------------------------------------*
  *  NAME
- *      CsrMutexDestroy
- *
- *  DESCRIPTION
- *      Destroy the previously created mutex.
- *
- *  RETURNS
- *      void
- *
- *----------------------------------------------------------------------------*/
-void CsrMutexDestroy(CsrMutexHandle *mutexHandle);
-
-/*----------------------------------------------------------------------------*
- *  NAME
  *      CsrGlobalMutexUnlock
  *
  *  DESCRIPTION
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux