diff options
author | mav <mav@FreeBSD.org> | 2010-08-18 15:38:10 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-08-18 15:38:10 +0000 |
commit | 95a3f24d1676e8b4016f4dbc0ee2eb63af12ac2f (patch) | |
tree | e79d7d3e4a6c89a0ba7e96a50bd1326c453f872a /sys/geom/mirror | |
parent | 50180fcbb5dd4fa787cdacdd341f451e60c738c4 (diff) | |
download | FreeBSD-src-95a3f24d1676e8b4016f4dbc0ee2eb63af12ac2f.zip FreeBSD-src-95a3f24d1676e8b4016f4dbc0ee2eb63af12ac2f.tar.gz |
Remove bintime_cmp() function, unused since r200086.
MFC after: 1 week
Diffstat (limited to 'sys/geom/mirror')
-rw-r--r-- | sys/geom/mirror/g_mirror.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index 404ab98..41d35e4 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) { |