svn commit: r224390 - stable/8/sys/sparc64/sparc64

Marius Strobl marius at FreeBSD.org
Mon Jul 25 19:04:57 UTC 2011


Author: marius
Date: Mon Jul 25 19:04:57 2011
New Revision: 224390
URL: http://svn.freebsd.org/changeset/base/224390

Log:
  MFC: r223962
  
  Remove NULL assignments which are redundant for static timecounters.
  
  Submitted by:	jkim

Modified:
  stable/8/sys/sparc64/sparc64/tick.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/geom/label/   (props changed)

Modified: stable/8/sys/sparc64/sparc64/tick.c
==============================================================================
--- stable/8/sys/sparc64/sparc64/tick.c	Mon Jul 25 19:03:50 2011	(r224389)
+++ stable/8/sys/sparc64/sparc64/tick.c	Mon Jul 25 19:04:57 2011	(r224390)
@@ -161,12 +161,10 @@ cpu_initclocks(void)
 	 * quality (S)TICK timers in the MP case.
 	 */
 	tick_tc.tc_get_timecount = tick_get_timecount_up;
-	tick_tc.tc_poll_pps = NULL;
 	tick_tc.tc_counter_mask = ~0u;
 	tick_tc.tc_frequency = clock;
 	tick_tc.tc_name = "tick";
 	tick_tc.tc_quality = TICK_QUALITY_UP;
-	tick_tc.tc_priv = NULL;
 #ifdef SMP
 	if (cpu_mp_probe()) {
 		tick_tc.tc_get_timecount = tick_get_timecount_mp;
@@ -176,12 +174,10 @@ cpu_initclocks(void)
 	tc_init(&tick_tc);
 	if (sclock != 0) {
 		stick_tc.tc_get_timecount = stick_get_timecount_up;
-		stick_tc.tc_poll_pps = NULL;
 		stick_tc.tc_counter_mask = ~0u;
 		stick_tc.tc_frequency = sclock;
 		stick_tc.tc_name = "stick";
 		stick_tc.tc_quality = TICK_QUALITY_UP;
-		stick_tc.tc_priv = NULL;
 #ifdef SMP
 		if (cpu_mp_probe()) {
 			stick_tc.tc_get_timecount = stick_get_timecount_mp;


More information about the svn-src-all mailing list