diff options
author | Tejun Heo <tj@kernel.org> | 2010-08-09 10:01:27 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-08-09 10:18:44 (GMT) |
commit | 9a919c46dfa48a9c1f465174609b90253eb8ffc1 (patch) | |
tree | 99fce0fb5b98d59ee1843a8d949cf8261e5efbff /drivers/char/ipmi | |
parent | f6500947a9cbb81cfa07ff344f16955d9c6ebe61 (diff) | |
download | linux-fsl-qoriq-9a919c46dfa48a9c1f465174609b90253eb8ffc1.tar.xz |
drm: fix fallouts from slow-work -> wq conversion
Commit 991ea75c (drm: use workqueue instead of slow-work), which made
drm to use wq instead of slow-work, didn't account for the return
value difference between delayed_slow_work_enqueue() and
queue_delayed_work(). The former returns 0 on success and -errno on
failures while the latter never fails and only uses the return value
to indicate whether the work was already pending or not.
This misconversion triggered spurious error messages. Remove the now
unnecessary return value check and error message.
Markus: caught another incorrect conversion in drm_kms_helper_poll_enable()
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Diffstat (limited to 'drivers/char/ipmi')
0 files changed, 0 insertions, 0 deletions