Skip to content

Commit

Permalink
zephyr: include: rtos: cache.h: Remove unused macros
Browse files Browse the repository at this point in the history
This commit removes CACHE_INVALIDATE and CACHE_WRITEBACK_INV
macros which are not used.

Signed-off-by: Laurentiu Mihalcea <[email protected]>
  • Loading branch information
LaurentiuM1234 authored and kv2019i committed May 25, 2023
1 parent 58b96d1 commit ff0fc14
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions zephyr/include/rtos/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@

#endif /* defined(CONFIG_XTENSA) && defined(CONFIG_INTEL) */

/* writeback and invalidate data */
#define CACHE_WRITEBACK_INV 0

/* invalidate data */
#define CACHE_INVALIDATE 1

/* sanity check - make sure CONFIG_DCACHE_LINE_SIZE is valid */
#if !defined(CONFIG_DCACHE_LINE_SIZE_DETECT) && (CONFIG_DCACHE_LINE_SIZE > 0)
#define DCACHE_LINE_SIZE CONFIG_DCACHE_LINE_SIZE
Expand Down

0 comments on commit ff0fc14

Please sign in to comment.