summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-08-25 08:49:21 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-08-25 08:49:21 +0000
commit18a8823f9ee12c218bcb8c3a50f67a2792f33ced (patch)
tree460d2566f392b77c12137c75f1f753418b9f74a6 /sys
parent307e2c6a28c505d29879aaab0697c29ce09c846c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/geom/mirror/g_mirror.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c
index 404ab986b356..41d35e45d34f 100644
--- a/sys/geom/mirror/g_mirror.c
+++ b/sys/geom/mirror/g_mirror.c
@@ -844,21 +844,6 @@ g_mirror_unidle(struct g_mirror_softc *sc)
}
}
-static __inline int
-bintime_cmp(struct bintime *bt1, struct bintime *bt2)
-{
-
- if (bt1->sec < bt2->sec)
- return (-1);
- else if (bt1->sec > bt2->sec)
- return (1);
- if (bt1->frac < bt2->frac)
- return (-1);
- else if (bt1->frac > bt2->frac)
- return (1);
- return (0);
-}
-
static void
g_mirror_done(struct bio *bp)
{