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:
Aaron Massey 2023-08-22 13:32:35 -06:00 committed by Fabio Baltieri
commit c6fd21c5de

View file

@ -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 */
/**