Revert changes to workqueue.c

Signed-off-by: Paul <javelinanddart@gmail.com>