summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2016-08-31 13:00:00 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2016-08-31 13:00:00 +0000
commit9ac87553a91012491d9a20d80b1c67371f7e7174 (patch)
tree0da23adc36a3980a0843b69c151b316f50fe909c /sys/dev/ic
parentc62d66b4d6ee124bdd45dc7529602cb78ae9629d (diff)
Remove unnecessary 'error' assignment
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/aic79xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index 0a7124504c5..6bda2e1d317 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.c,v 1.61 2016/08/17 01:16:11 krw Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.62 2016/08/31 12:59:59 tom Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -9093,7 +9093,6 @@ ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
int retval;
AHD_ASSERT_MODES(ahd, AHD_MODE_SCSI_MSK, AHD_MODE_SCSI_MSK);
- error = ENOENT;
/* Place the chip into write-enable mode */
ahd_outb(ahd, SEEADR, SEEOP_EWEN_ADDR);