aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/csr
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-10-24 02:34:28 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-24 15:23:09 -0700
commit5d380bebe76759a1cf591cff6e327e7c9cddc245 (patch)
treeb34319e2deb58ef3d1d0e6c19ceae8bc1d5b1a48 /drivers/staging/csr
parentstaging: csr: remove the CsrTime typedef altogether (diff)
downloadlinux-dev-5d380bebe76759a1cf591cff6e327e7c9cddc245.tar.xz
linux-dev-5d380bebe76759a1cf591cff6e327e7c9cddc245.zip
staging: csr: remove unused function prototypes
remove some of the function prototypes , they dont have a definition of the function 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_sched.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/drivers/staging/csr/csr_sched.h b/drivers/staging/csr/csr_sched.h
index e5d6ad898e02..dc67a4a08552 100644
--- a/drivers/staging/csr/csr_sched.h
+++ b/drivers/staging/csr/csr_sched.h
@@ -57,58 +57,6 @@ typedef void (*CsrSchedBgintHandler)(void *);
/*----------------------------------------------------------------------------*
* NAME
- * CsrSchedBgintReg
- *
- * DESCRIPTION
- * Register a background interrupt handler function with the scheduler.
- * When CsrSchedBgint() is called from the foreground (e.g. an interrupt
- * routine) the registered function is called.
- *
- * If "cb" is null then the interrupt is effectively disabled. If a
- * no bgints are available, CSR_SCHED_BGINT_INVALID is returned, otherwise
- * a CsrSchedBgint value is returned to be used in subsequent calls to
- * CsrSchedBgint(). id is a possibly NULL identifier used for logging
- * purposes only.
- *
- * RETURNS
- * CsrSchedBgint -- CSR_SCHED_BGINT_INVALID denotes failure to obtain a CsrSchedBgintSet.
- *
- *----------------------------------------------------------------------------*/
-CsrSchedBgint CsrSchedBgintReg(CsrSchedBgintHandler cb,
- void *context,
- const char *id);
-
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrSchedBgintUnreg
- *
- * DESCRIPTION
- * Unregister a background interrupt handler function.
- *
- * ``irq'' is a background interrupt handle previously obtained
- * from a call to CsrSchedBgintReg().
- *
- * RETURNS
- * void.
- *
- *----------------------------------------------------------------------------*/
-void CsrSchedBgintUnreg(CsrSchedBgint bgint);
-
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrSchedBgintSet
- *
- * DESCRIPTION
- * Set background interrupt.
- *
- * RETURNS
- * void.
- *
- *----------------------------------------------------------------------------*/
-void CsrSchedBgintSet(CsrSchedBgint bgint);
-
-/*----------------------------------------------------------------------------*
- * NAME
* CsrSchedMessagePut
*
* DESCRIPTION
@@ -178,25 +126,6 @@ void CsrSchedMessageBroadcast(u16 mi,
/*----------------------------------------------------------------------------*
* NAME
- * CsrSchedMessageGet
- *
- * DESCRIPTION
- * Obtains a message from the message queue belonging to the calling task.
- * The message consists of one or both of a u16 and a void *.
- *
- * RETURNS
- * u8 - TRUE if a message has been obtained from the queue, else FALSE.
- * If a message is taken from the queue, then "*pmi" and "*pmv" are set to
- * the "mi" and "mv" passed to CsrSchedMessagePut() respectively.
- *
- * "pmi" and "pmv" can be null, in which case the corresponding value from
- * them message is discarded.
- *
- *----------------------------------------------------------------------------*/
-u8 CsrSchedMessageGet(u16 *pmi, void **pmv);
-
-/*----------------------------------------------------------------------------*
- * NAME
* CsrSchedTimerSet
*
* DESCRIPTION
@@ -271,20 +200,6 @@ u8 CsrSchedTimerCancel(CsrSchedTid eventid,
CsrSchedQid CsrSchedTaskQueueGet(void);
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrSchedTaskQueueGet
- *
- * DESCRIPTION
- * Return the queue identifier for the currently running queue
- *
- * RETURNS
- * char - The current task queue identifier, or 0xFFFF if not available.
- *
- *----------------------------------------------------------------------------*/
-char* CsrSchedTaskNameGet(CsrSchedQid );
-
-
#ifdef __cplusplus
}
#endif