From: Stefan Richter Date: Sun, 11 Jan 2009 12:44:46 +0000 (+0100) Subject: firewire: cdev: simplify a schedule_delayed_work wrapper X-Git-Tag: v2.6.30-rc1~644^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81610b8fbfc027a67707ff567d490819a3d55844;p=pandora-kernel.git 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 --- Reading git-diff-tree failed