summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2023-02-15 11:19:12 +0800
committerTai Kuo <taikuo@google.com>2023-02-17 02:32:58 +0000
commitecce4606eb26a42a8c8eae42b3d0804ab261aaad (patch)
tree473469488abfd9d41d50ecf0fc3179f068c12ca3
parent8c576c450604b70c7b1170803b039ed0b172b1a4 (diff)
downloadamplifiers-ecce4606eb26a42a8c8eae42b3d0804ab261aaad.tar.gz
cs40l26: remove unused is_owt and is_buzz API
Bug: 261694194 Test: Build pass Change-Id: I0642858685ecbe0fb0920a0084ad5f7fe9872fed Signed-off-by: Tai Kuo <taikuo@google.com>
-rw-r--r--cs40l26/cs40l26.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/cs40l26/cs40l26.c b/cs40l26/cs40l26.c
index 3a0734e..8fbc9a5 100644
--- a/cs40l26/cs40l26.c
+++ b/cs40l26/cs40l26.c
@@ -13,18 +13,6 @@
#include "cs40l26.h"
-static inline bool is_owt(unsigned int index)
-{
- return index >= CS40L26_OWT_INDEX_START &&
- index <= CS40L26_OWT_INDEX_END;
-}
-
-static inline bool is_buzz(unsigned int index)
-{
- return (index >= CS40L26_BUZZGEN_INDEX_START &&
- index <= CS40L26_BUZZGEN_INDEX_END);
-}
-
static inline bool section_complete(struct cs40l26_owt_section *s)
{
return s->delay ? true : false;