svn commit: r358391 - head/sys/dev/rndtest

Warner Losh imp at FreeBSD.org
Thu Feb 27 15:25:33 UTC 2020


Author: imp
Date: Thu Feb 27 15:25:31 2020
New Revision: 358391
URL: https://svnweb.freebsd.org/changeset/base/358391

Log:
  Remove FreeBSD 4 support

Modified:
  head/sys/dev/rndtest/rndtest.c

Modified: head/sys/dev/rndtest/rndtest.c
==============================================================================
--- head/sys/dev/rndtest/rndtest.c	Thu Feb 27 15:25:26 2020	(r358390)
+++ head/sys/dev/rndtest/rndtest.c	Thu Feb 27 15:25:31 2020	(r358391)
@@ -97,11 +97,7 @@ rndtest_attach(device_t dev)
 		rsp->rs_discard = 1;
 		rsp->rs_collect = 1;
 		rsp->rs_parent = dev;
-#if __FreeBSD_version < 500000
-		callout_init(&rsp->rs_to);
-#else
 		callout_init(&rsp->rs_to, 1);
-#endif
 	} else
 		device_printf(dev, "rndtest_init: no memory for state block\n");
 	return (rsp);


More information about the svn-src-head mailing list