summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-09-25 17:55:29 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-09-25 17:55:29 +0000
commit216188ba55a6b92f6ea6c0bb5535193f27579583 (patch)
treee7401cdd0e9b8e27b116b07f6746c8dab3b1595e /sys/dev/pci/hifn7751.c
parentb404f8abeefd3b735efd334203a71144934ef926 (diff)
remove dead store.
Found by LLVM/Clang Static Analyzer. ok brad@ krw@
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r--sys/dev/pci/hifn7751.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index a52ade566d4..eca6ee5a872 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.156 2008/08/31 09:50:12 jsg Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.157 2008/09/25 17:55:28 chl Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -1009,7 +1009,7 @@ hifn_writeramaddr(struct hifn_softc *sc, int addr, u_int8_t *data)
printf("%s: writeramaddr -- "
"result[%d](addr %d) still valid\n",
sc->sc_dv.dv_xname, resi, addr);
- r = -1;
+
return (-1);
} else
r = 0;