diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-01-11 13:44:46 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 20:56:46 +0100 |
commit | 81610b8fbfc027a67707ff567d490819a3d55844 (patch) | |
tree | b828ef4868938534fb17d75659246715179a29f5 /drivers/firewire/fw-device.h | |
parent | firewire: cdev: add ioctls for iso resource management, amendment (diff) | |
download | linux-81610b8fbfc027a67707ff567d490819a3d55844.tar.xz linux-81610b8fbfc027a67707ff567d490819a3d55844.zip |
firewire: cdev: simplify a schedule_delayed_work wrapper
The kernel API documentation says that queue_delayed_work() returns 0
(only) if the work was already queued. The return codes of
schedule_delayed_work() are not documented but the same.
In init_iso_resource(), the work has never been queued yet, hence we
can assume schedule_delayed_work() to be a guaranteed success there.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions