[PATCH 2/3] workqueue: create __flush_delayed_work to avoid duplicating code