infra: remove obsolete show_status()

This commit is contained in:
Thomas Schoebel-Theuer 2020-06-08 12:26:51 +02:00 committed by Thomas Schoebel-Theuer
parent fc33aada95
commit 6d4ba66d55
2 changed files with 0 additions and 5 deletions

View File

@ -295,7 +295,6 @@ struct mars_info {
int *mode_ptr; \ int *mode_ptr; \
int kill_round; \ int kill_round; \
bool killme; \ bool killme; \
void (*show_status)(struct mars_brick *brick, bool shutdown); \
struct mars_brick { struct mars_brick {
MARS_BRICK(mars); MARS_BRICK(mars);

View File

@ -2554,10 +2554,6 @@ int mars_kill_brick(struct mars_brick *brick)
goto done; goto done;
} }
if (brick->show_status) {
brick->show_status(brick, true);
}
// start shutdown // start shutdown
set_button_wait((void*)brick, false, true, 0); set_button_wait((void*)brick, false, true, 0);