svn commit: r211455 - head/sys/geom/mirror
Alexander Motin
mav at FreeBSD.org
Wed Aug 18 15:38:11 UTC 2010
Author: mav
Date: Wed Aug 18 15:38:10 2010
New Revision: 211455
URL: http://svn.freebsd.org/changeset/base/211455
Log:
Remove bintime_cmp() function, unused since r200086.
MFC after: 1 week
Modified:
head/sys/geom/mirror/g_mirror.c
Modified: head/sys/geom/mirror/g_mirror.c
==============================================================================
--- head/sys/geom/mirror/g_mirror.c Wed Aug 18 14:41:34 2010 (r211454)
+++ head/sys/geom/mirror/g_mirror.c Wed Aug 18 15:38:10 2010 (r211455)
@@ -844,21 +844,6 @@ g_mirror_unidle(struct g_mirror_softc *s
}
}
-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)
{
More information about the svn-src-all
mailing list