diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-10-20 19:07:02 +0200 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-10-28 17:01:39 +0200 |
commit | 3ceaa1411da4d0d5f3ea89e9ecd03af1b7bcd5eb (patch) | |
tree | bc85e3abb9e4232be63424be4c010ddcadfb9bc8 /drivers/gpu/drm/msm/msm_gem_submit.c | |
parent | drm/msm: Implement preemption for A5XX targets (diff) | |
download | linux-3ceaa1411da4d0d5f3ea89e9ecd03af1b7bcd5eb.tar.xz linux-3ceaa1411da4d0d5f3ea89e9ecd03af1b7bcd5eb.zip |
drm/msm: Removed unused struct_mutex_task
Recent changes to locking have rendered struct_mutex_task
unused.
Unused since 0e08270a1f01.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem_submit.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gem_submit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem_submit.c b/drivers/gpu/drm/msm/msm_gem_submit.c index d3551aa130fb..69868682f8f4 100644 --- a/drivers/gpu/drm/msm/msm_gem_submit.c +++ b/drivers/gpu/drm/msm/msm_gem_submit.c @@ -463,7 +463,6 @@ int msm_ioctl_gem_submit(struct drm_device *dev, void *data, goto out_unlock; } } - priv->struct_mutex_task = current; submit = submit_create(dev, gpu, queue, args->nr_bos, args->nr_cmds); if (!submit) { @@ -581,7 +580,6 @@ out: out_unlock: if (ret && (out_fence_fd >= 0)) put_unused_fd(out_fence_fd); - priv->struct_mutex_task = NULL; mutex_unlock(&dev->struct_mutex); return ret; } |