summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-07-12 18:10:56 +0000
committermarius <marius@FreeBSD.org>2011-07-12 18:10:56 +0000
commite264353fe112de59c7e196be6f04e09ea2d52a9d (patch)
treeb60c9a79d14875eda666e287f8b1f4b714f07bdc /sys/sparc64
parent105be4437ce98749089013aff9edeabbd1169b78 (diff)
downloadFreeBSD-src-e264353fe112de59c7e196be6f04e09ea2d52a9d.zip
FreeBSD-src-e264353fe112de59c7e196be6f04e09ea2d52a9d.tar.gz
Remove NULL assignments which are redundant for static timecounters.
Submitted by: jkim
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/tick.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sparc64/sparc64/tick.c b/sys/sparc64/sparc64/tick.c
index 921ffcb..0c0decc 100644
--- a/sys/sparc64/sparc64/tick.c
+++ b/sys/sparc64/sparc64/tick.c
@@ -197,12 +197,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;
@@ -212,12 +210,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;
OpenPOWER on IntegriCloud