aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2010-08-09 12:01:27 +0200
committerTejun Heo <[email protected]>2010-08-09 12:18:44 +0200
commit9a919c46dfa48a9c1f465174609b90253eb8ffc1 (patch)
tree99fce0fb5b98d59ee1843a8d949cf8261e5efbff /tools/perf/scripts/python
parentf6500947a9cbb81cfa07ff344f16955d9c6ebe61 (diff)
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 <[email protected]> Reported-by: Markus Trippelsdorf <[email protected]> Tested-by: Markus Trippelsdorf <[email protected]> Cc: David Airlie <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions