diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-02-02 03:31:23 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-02-02 03:31:23 +0000 |
commit | 69c004aabfba5ee33b41308537cee4457545a41a (patch) | |
tree | 8c1a110847847e8ae7fb2b86d0b7264ffd594ac1 /sys/arch/armv7/vexpress | |
parent | 7c7ee78eb658fb3fc6779266cb4e52b453ed1371 (diff) |
remove uneeded break statements
Diffstat (limited to 'sys/arch/armv7/vexpress')
-rw-r--r-- | sys/arch/armv7/vexpress/vexpress.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/armv7/vexpress/vexpress.c b/sys/arch/armv7/vexpress/vexpress.c index 2064a6b3a12..fcf33f814d4 100644 --- a/sys/arch/armv7/vexpress/vexpress.c +++ b/sys/arch/armv7/vexpress/vexpress.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vexpress.c,v 1.2 2015/06/14 05:01:31 jsg Exp $ */ +/* $OpenBSD: vexpress.c,v 1.3 2016/02/02 03:31:22 jsg Exp $ */ /* * Copyright (c) 2015 Jonathan Gray <jsg@openbsd.org> @@ -96,10 +96,8 @@ vexpress_board_name(void) int i; for (i = 0; vexpress_boards[i].name != NULL; i++) { - if (vexpress_boards[i].board_id == board_id) { + if (vexpress_boards[i].board_id == board_id) return (vexpress_boards[i].name); - break; - } } return (NULL); } |