some weird redundancy with a workqueue?
Robert P. J. Day
rpjday at crashcourse.ca
Fri Oct 19 09:12:17 EDT 2012
is there something i'm missing about the following snippet of code
in drivers/acpi/osl.c?
if (queue == kacpi_hotplug_wq)
INIT_WORK(&dpc->work, acpi_os_execute_deferred);
else if (queue == kacpi_notify_wq)
INIT_WORK(&dpc->work, acpi_os_execute_deferred);
else
INIT_WORK(&dpc->work, acpi_os_execute_deferred);
does anyone else find that code a bit ... odd?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Kernelnewbies
mailing list