diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-10-16 23:41:43 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-10-16 23:41:43 +0000 |
commit | a714674f8687215b008ba7177d4e0fb3c8f007cf (patch) | |
tree | 6717426ce771d570dd97d4be2a9b7e2797f92561 /sys/dev/ic | |
parent | 4d93c955376264d781bc492aaf1579c702657960 (diff) |
more remove unneeded declarations that shadows existing vars; ok by many.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/isp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/isp.c b/sys/dev/ic/isp.c index c23d1089bd5..15de82d85dc 100644 --- a/sys/dev/ic/isp.c +++ b/sys/dev/ic/isp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isp.c,v 1.39 2007/05/23 01:32:25 ray Exp $ */ +/* $OpenBSD: isp.c,v 1.40 2007/10/16 23:41:42 fgsch Exp $ */ /* * Machine and OS Independent (well, as best as possible) * code for the Qlogic ISP SCSI adapters. @@ -3498,8 +3498,8 @@ again: if (mbox & 0x4000) { isp->isp_intmboxc++; if (isp->isp_mboxbsy) { - int i = 0, obits = isp->isp_obits; - isp->isp_mboxtmp[i++] = mbox; + int obits = isp->isp_obits; + isp->isp_mboxtmp[0] = mbox; for (i = 1; i < MAX_MAILBOX; i++) { if ((obits & (1 << i)) == 0) { continue; |