summaryrefslogtreecommitdiffstats
path: root/drivers/staging/csr/csr_time.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-20 17:25:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-20 17:25:09 -0700
commit419e9266884fa853179ab726c27a63a9d3ae46e3 (patch)
tree6dca783f028716dd1271e3c1e88898af8680d09d /drivers/staging/csr/csr_time.h
parent9e16d457689d1b866e8c1b7de331cb069e341f4c (diff)
downloadop-kernel-dev-419e9266884fa853179ab726c27a63a9d3ae46e3.zip
op-kernel-dev-419e9266884fa853179ab726c27a63a9d3ae46e3.tar.gz
staging: csr: delete a bunch of unused library functions
These functions were never being called, so they can be safely deleted. Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com> Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com> Cc: Riku Mettälä <riku.mettala@bluegiga.com> Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr/csr_time.h')
-rw-r--r--drivers/staging/csr/csr_time.h91
1 files changed, 0 insertions, 91 deletions
diff --git a/drivers/staging/csr/csr_time.h b/drivers/staging/csr/csr_time.h
index 09eeeee..2a45f3e 100644
--- a/drivers/staging/csr/csr_time.h
+++ b/drivers/staging/csr/csr_time.h
@@ -75,32 +75,6 @@ typedef struct
CsrTime CsrTimeGet(CsrTime *high);
-/*******************************************************************************
-
- NAME
- CsrTimeUtcGet
-
- DESCRIPTION
- Get the current system wallclock time, and optionally the current system
- time in a low and a high part as would have been returned by
- CsrTimeGet.
-
- Although CsrTimeUtc is expressed in seconds and milliseconds, the actual
- resolution is platform dependent, and can be less. It is recommended
- that the resolution is at least 1 second.
-
- PARAMETERS
- tod - Pointer to variable that will receive the current system
- wallclock time.
- low - The low part of the current system time in microseconds. Passing
- NULL is valid.
- high - The high part of the current system time in microseconds. Passing
- NULL is valid.
-
-*******************************************************************************/
-void CsrTimeUtcGet(CsrTimeUtc *tod, CsrTime *low, CsrTime *high);
-
-
/*------------------------------------------------------------------*/
/* CsrTime Macros */
/*------------------------------------------------------------------*/
@@ -133,71 +107,6 @@ void CsrTimeUtcGet(CsrTimeUtc *tod, CsrTime *low, CsrTime *high);
*----------------------------------------------------------------------------*/
#define CsrTimeSub(t1, t2) ((s32) (t1) - (s32) (t2))
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrTimeEq
- *
- * DESCRIPTION
- * Compare two time values.
- *
- * RETURNS
- * !0 if "t1" equal "t2", else 0.
- *
- *----------------------------------------------------------------------------*/
-#define CsrTimeEq(t1, t2) ((t1) == (t2))
-
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrTimeGt
- *
- * DESCRIPTION
- * Compare two time values.
- *
- * RETURNS
- * !0 if "t1" is greater than "t2", else 0.
- *
- *----------------------------------------------------------------------------*/
-#define CsrTimeGt(t1, t2) (CsrTimeSub((t1), (t2)) > 0)
-
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrTimeGe
- *
- * DESCRIPTION
- * Compare two time values.
- *
- * RETURNS
- * !0 if "t1" is greater than, or equal to "t2", else 0.
- *
- *----------------------------------------------------------------------------*/
-#define CsrTimeGe(t1, t2) (CsrTimeSub((t1), (t2)) >= 0)
-
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrTimeLt
- *
- * DESCRIPTION
- * Compare two time values.
- *
- * RETURNS
- * !0 if "t1" is less than "t2", else 0.
- *
- *----------------------------------------------------------------------------*/
-#define CsrTimeLt(t1, t2) (CsrTimeSub((t1), (t2)) < 0)
-
-/*----------------------------------------------------------------------------*
- * NAME
- * CsrTimeLe
- *
- * DESCRIPTION
- * Compare two time values.
- *
- * RETURNS
- * !0 if "t1" is less than, or equal to "t2", else 0.
- *
- *----------------------------------------------------------------------------*/
-#define CsrTimeLe(t1, t2) (CsrTimeSub((t1), (t2)) <= 0)
-
#ifdef __cplusplus
}
#endif
OpenPOWER on IntegriCloud