summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2008-02-19 13:18:51 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2008-02-19 13:18:51 +0000
commit5b42bad5228921c585e2f068af2fb88acac20d39 (patch)
tree8d9bd53f7706cb7c82126ebe4f358f2f4e96c4f6 /sys/arch/sgi
parent1411fe1adc54f47cc6f2f255613c7f28904b11e7 (diff)
Remove duplicate strcmp().
From Iruata Souza <iru.muzgo@gmail.com>
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/stand/boot/arcbios.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sgi/stand/boot/arcbios.c b/sys/arch/sgi/stand/boot/arcbios.c
index 6724d926bd5..d012ea5de31 100644
--- a/sys/arch/sgi/stand/boot/arcbios.c
+++ b/sys/arch/sgi/stand/boot/arcbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arcbios.c,v 1.4 2004/10/20 12:49:15 pefo Exp $ */
+/* $OpenBSD: arcbios.c,v 1.5 2008/02/19 13:18:50 jsing Exp $ */
/*-
* Copyright (c) 1996 M. Warner Losh. All rights reserved.
* Copyright (c) 1996-2004 Opsycon AB. All rights reserved.
@@ -244,8 +244,7 @@ devopen(struct open_file *f, const char *fname, char **file)
* Scan the component list and find device and partition.
*/
while ((ncp = bios_get_path_component(cp, namebuf, &i)) != NULL) {
- if ((strcmp(namebuf, "partition") == 0) ||
- (strcmp(namebuf, "partition") == 0)) {
+ if (strcmp(namebuf, "partition") == 0) {
partition = i;
if (USE_SGI_PARTITIONS)
ecp = ncp;