Module Name: src Committed By: joerg Date: Thu Apr 3 18:49:52 UTC 2014
Modified Files: src/sys/arch/cobalt/stand/boot: wdc.c Log Message: GC found. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/cobalt/stand/boot/wdc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/cobalt/stand/boot/wdc.c diff -u src/sys/arch/cobalt/stand/boot/wdc.c:1.13 src/sys/arch/cobalt/stand/boot/wdc.c:1.14 --- src/sys/arch/cobalt/stand/boot/wdc.c:1.13 Tue Jan 19 15:28:52 2010 +++ src/sys/arch/cobalt/stand/boot/wdc.c Thu Apr 3 18:49:52 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: wdc.c,v 1.13 2010/01/19 15:28:52 tsutsui Exp $ */ +/* $NetBSD: wdc.c,v 1.14 2014/04/03 18:49:52 joerg Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -115,7 +115,6 @@ wdcprobe(struct wdc_channel *chp) uint8_t st0, st1; uint8_t ret_value = 0x03; uint8_t drive; - int found; /* * Sanity check to see if the wdc channel responds at all. @@ -157,7 +156,6 @@ wdcprobe(struct wdc_channel *chp) * something here assume it's ATA or OLD. Ghost will be killed later in * attach routine. */ - found = 0; for (drive = 0; drive < 2; drive++) { if ((ret_value & (0x01 << drive)) == 0) continue;