include: remove unused macros from include/arch/*/arch.h
All architecture defines OCTET_TO_SIZEOFUNIT and SIZEOFUNIT_TO_OCTET as identity functions. But the only user is tests/benchmarks/app_kernel. It's effectively a no-op. Remove them. Signed-off-by: Yasushi SHOJI <y-shoji@ispace-inc.com>
This commit is contained in:
parent
cf9bfb20f1
commit
064608b429
11 changed files with 4 additions and 33 deletions
|
@ -32,11 +32,6 @@ extern "C" {
|
|||
#define _NANO_ERR_KERNEL_OOPS (5) /* Kernel oops (fatal to thread) */
|
||||
#define _NANO_ERR_KERNEL_PANIC (6) /* Kernel panic (fatal to system) */
|
||||
|
||||
/* APIs need to support non-byte addressable architectures */
|
||||
|
||||
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
||||
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
#include <zephyr/types.h>
|
||||
#include <irq.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue