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
|
@ -26,11 +26,6 @@ extern "C" {
|
|||
/* ARM GPRs are often designated by two different names */
|
||||
#define sys_define_gpr_with_alias(name1, name2) union { u32_t name1, name2; }
|
||||
|
||||
/* APIs need to support non-byte addressable architectures */
|
||||
|
||||
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
||||
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
||||
|
||||
#ifdef CONFIG_CPU_CORTEX_M
|
||||
#include <arch/arm/cortex_m/exc.h>
|
||||
#include <arch/arm/cortex_m/irq.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue