1. NAME

cancel_delayed_work - cancel a delayed work

2. SYNOPSIS

bool cancel_delayed_work(struct delayed_work *  dwork );

3. ARGUMENTS

dwork
    delayed_work to cancel

4. DESCRIPTION

Kill off a pending delayed_work. Returns true if dwork was pending and canceled; false if wasnAqt pending. Note that the work callback function may still be running on return, unless it returns true and the work doesnAqt re-arm itself. Explicitly flush or use cancel_delayed_work_sync to wait on it.

This function is safe to call from any context including IRQ handler.

5. COPYRIGHT