svn commit: r211810 - stable/7/sys/geom/mirror

Alexander Motin mav at FreeBSD.org
Wed Aug 25 11:11:15 UTC 2010


Author: mav
Date: Wed Aug 25 11:11:14 2010
New Revision: 211810
URL: http://svn.freebsd.org/changeset/base/211810

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

Modified:
  stable/7/sys/geom/mirror/g_mirror.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/geom/mirror/g_mirror.c
==============================================================================
--- stable/7/sys/geom/mirror/g_mirror.c	Wed Aug 25 09:53:00 2010	(r211809)
+++ stable/7/sys/geom/mirror/g_mirror.c	Wed Aug 25 11:11:14 2010	(r211810)
@@ -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-7 mailing list