diff options
author | Tai Kuo <taikuo@google.com> | 2022-10-24 16:29:34 +0800 |
---|---|---|
committer | Tai Kuo <taikuo@google.com> | 2022-10-24 16:29:34 +0800 |
commit | aa093b904e78ff5de30f339ce719b4ef87750675 (patch) | |
tree | 9e40b82ada40db69ea659b99a4c411570b1fa32c | |
parent | 472e3d5906cfbf9883bebe764f8b7d31f49fb8e5 (diff) | |
download | amplifiers-aa093b904e78ff5de30f339ce719b4ef87750675.tar.gz |
cs40l26: remove unused is_ram and is_rom API
Bug: 254810265
Test: Build pass
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I2c661e61c37fe75c055abb6cef89a93caa32ae73
-rw-r--r-- | cs40l26/cs40l26.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cs40l26/cs40l26.c b/cs40l26/cs40l26.c index 86a15d9..d666f4c 100644 --- a/cs40l26/cs40l26.c +++ b/cs40l26/cs40l26.c @@ -25,18 +25,6 @@ static inline bool is_buzz(unsigned int index) index <= CS40L26_BUZZGEN_INDEX_END); } -static inline bool is_ram(unsigned int index) -{ - return (index >= CS40L26_RAM_INDEX_START && - index <= CS40L26_RAM_INDEX_END); -} - -static inline bool is_rom(unsigned int index) -{ - return (index >= CS40L26_ROM_INDEX_START && - index <= CS40L26_ROM_INDEX_END); -} - static inline bool section_complete(struct cs40l26_owt_section *s) { return s->delay ? true : false; |