Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109431897
D45669.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
982 B
Referenced Files
None
Subscribers
None
D45669.diff
View Options
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -154,7 +154,7 @@
static int
acpi_timer_probe(device_t dev)
{
- int j, rid, rtype;
+ int rid, rtype;
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
@@ -188,16 +188,6 @@
acpi_timer_timecounter.tc_frequency = acpi_timer_frequency;
acpi_timer_timecounter.tc_flags = TC_FLAGS_SUSPEND_SAFE;
- /*
- * If all tests of the counter succeed, use the ACPI-fast method. If
- * at least one failed, default to using the safe routine, which reads
- * the timer multiple times to get a consistent value before returning.
- */
- j = 0;
- if (bootverbose)
- printf("ACPI timer:");
- if (bootverbose)
- printf(" -> %d\n", j);
acpi_timer_timecounter.tc_name = "ACPI-fast";
acpi_timer_timecounter.tc_get_timecount = acpi_timer_get_timecount;
acpi_timer_timecounter.tc_quality = 900;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 11:46 PM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16483023
Default Alt Text
D45669.diff (982 B)
Attached To
Mode
D45669: acpi_timer: remove leftovers from Garbage-collect ACPI-safe timer and friends
Attached
Detach File
Event Timeline
Log In to Comment