svn commit: r211803 - stable/8/sys/geom/mirror

Alexander Motin mav at FreeBSD.org
Wed Aug 25 08:49:22 UTC 2010


Author: mav
Date: Wed Aug 25 08:49:21 2010
New Revision: 211803
URL: http://svn.freebsd.org/changeset/base/211803

Log:
  MFC r211455:
  Remove bintime_cmp() function, unused since r200086.

Modified:
  stable/8/sys/geom/mirror/g_mirror.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/geom/mirror/g_mirror.c
==============================================================================
--- stable/8/sys/geom/mirror/g_mirror.c	Wed Aug 25 08:48:54 2010	(r211802)
+++ stable/8/sys/geom/mirror/g_mirror.c	Wed Aug 25 08:49:21 2010	(r211803)
@@ -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-stable-8 mailing list