summaryrefslogtreecommitdiffstats
path: root/sys/mips/cavium
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-01-16 20:40:02 +0000
committerimp <imp@FreeBSD.org>2014-01-16 20:40:02 +0000
commit14cf77d37c9aa83835a19a1f1d43ceddc870828f (patch)
tree52ac0f958d3cd8caf6ac51e71c3e3b35f72be4e7 /sys/mips/cavium
parent1a5eaf4d33283bcb45d49c51896ea7b5182c1997 (diff)
downloadFreeBSD-src-14cf77d37c9aa83835a19a1f1d43ceddc870828f.zip
FreeBSD-src-14cf77d37c9aa83835a19a1f1d43ceddc870828f.tar.gz
Remove two redundantly repetitive assignments.
Diffstat (limited to 'sys/mips/cavium')
-rw-r--r--sys/mips/cavium/ciu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/mips/cavium/ciu.c b/sys/mips/cavium/ciu.c
index a9b1f98..87895bb 100644
--- a/sys/mips/cavium/ciu.c
+++ b/sys/mips/cavium/ciu.c
@@ -433,7 +433,6 @@ ciu_intr(void *arg)
if (en0_sum == 0 && en1_sum == 0)
return (FILTER_STRAY);
- irq_index = 0;
for (irq_index = 0; en0_sum != 0; irq_index++, en0_sum >>= 1) {
if ((en0_sum & 1) == 0)
continue;
@@ -445,7 +444,6 @@ ciu_intr(void *arg)
printf("%s: stray en0 irq%d\n", __func__, irq_index);
}
- irq_index = 0;
for (irq_index = 0; en1_sum != 0; irq_index++, en1_sum >>= 1) {
if ((en1_sum & 1) == 0)
continue;
OpenPOWER on IntegriCloud