diff options
Diffstat (limited to 'sys/arch/armv7/vexpress/vexpress.c')
-rw-r--r-- | sys/arch/armv7/vexpress/vexpress.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/sys/arch/armv7/vexpress/vexpress.c b/sys/arch/armv7/vexpress/vexpress.c index 8a994e1d536..422e16fa0c7 100644 --- a/sys/arch/armv7/vexpress/vexpress.c +++ b/sys/arch/armv7/vexpress/vexpress.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vexpress.c,v 1.4 2016/05/02 15:27:24 patrick Exp $ */ +/* $OpenBSD: vexpress.c,v 1.5 2016/06/04 18:09:16 jsg Exp $ */ /* * Copyright (c) 2015 Jonathan Gray <jsg@openbsd.org> @@ -52,11 +52,10 @@ struct board_dev vexpress_devs[] = { struct armv7_board vexpress_boards[] = { { BOARD_ID_VEXPRESS, - "ARM Versatile Express", vexpress_devs, NULL, }, - { 0, NULL, NULL, NULL }, + { 0, NULL, NULL }, }; struct board_dev * @@ -64,7 +63,7 @@ vexpress_board_devs(void) { int i; - for (i = 0; vexpress_boards[i].name != NULL; i++) { + for (i = 0; vexpress_boards[i].board_id != 0; i++) { if (vexpress_boards[i].board_id == board_id) return (vexpress_boards[i].devs); } @@ -91,18 +90,6 @@ vexpress_board_init(void) vexpress_a15_init(); } -const char * -vexpress_board_name(void) -{ - int i; - - for (i = 0; vexpress_boards[i].name != NULL; i++) { - if (vexpress_boards[i].board_id == board_id) - return (vexpress_boards[i].name); - } - return (NULL); -} - int vexpress_match(struct device *parent, void *cfdata, void *aux) { |