emul: Remove unused ZTEST_DMEM in sbs emulator
The redefinition of ZTEST_DMEM in the SBS emulator is unused. We ought to remove it as it's dead code. Remove the unused #define ZTEST_DMEM. Signed-off-by: Aaron Massey <aaronmassey@google.com>
This commit is contained in:
parent
8035ec69fa
commit
c6fd21c5de
1 changed files with 0 additions and 3 deletions
|
@ -342,9 +342,6 @@ static void emul_sbs_gauge_reset_rule_after(const struct ztest_unit_test *test,
|
|||
DT_INST_FOREACH_STATUS_OKAY(SBS_GAUGE_EMUL_RESET_RULE_BEFORE)
|
||||
}
|
||||
ZTEST_RULE(emul_sbs_gauge_reset, NULL, emul_sbs_gauge_reset_rule_after);
|
||||
#else /* !CONFIG_ZTEST */
|
||||
/* Stub ZTEST_DMEM in case emulator is not used in a testing environment. */
|
||||
#define ZTEST_DMEM
|
||||
#endif /* CONFIG_ZTEST */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue