treewide: Remove system_counterval_t.cs, which is never read
[linux-2.6-microblaze.git] / drivers / clocksource / arm_arch_timer.c
index 45a0287..8d4a520 100644 (file)
@@ -1807,7 +1807,6 @@ TIMER_ACPI_DECLARE(arch_timer, ACPI_SIG_GTDT, arch_timer_acpi_init);
 #endif
 
 int kvm_arch_ptp_get_crosststamp(u64 *cycle, struct timespec64 *ts,
-                                struct clocksource **cs,
                                 enum clocksource_ids *cs_id)
 {
        struct arm_smccc_res hvc_res;
@@ -1832,8 +1831,6 @@ int kvm_arch_ptp_get_crosststamp(u64 *cycle, struct timespec64 *ts,
        *ts = ktime_to_timespec64(ktime);
        if (cycle)
                *cycle = (u64)hvc_res.a2 << 32 | hvc_res.a3;
-       if (cs)
-               *cs = &clocksource_counter;
        if (cs_id)
                *cs_id = CSID_ARM_ARCH_COUNTER;