CANCEL_DELAYED_WORK_(9) Driver Basics CANCEL_DELAYED_WORK_(9)NAMEcancel_delayed_work_sync - cancel a delayed work and wait for it to
finish
SYNOPSIS
bool cancel_delayed_work_sync(struct delayed_work * dwork);
ARGUMENTS
dwork
the delayed work cancel
DESCRIPTION
This is cancel_work_sync for delayed works.
RETURNS
true if dwork was pending, false otherwise.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 CANCEL_DELAYED_WORK_(9)