summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-09-14 20:09:48 +0200
committerRob Clark <robdclark@gmail.com>2013-09-16 13:59:49 +0200
commit7e60353a1f5335ecd63b1c54897c2aa75874aaee (patch)
tree074ad6fc36f656964e34b7a47e16ac732202c58c /drivers/gpu
parentdrm/msm: fix potential NULL pointer dereference (diff)
downloadlinux-7e60353a1f5335ecd63b1c54897c2aa75874aaee.tar.xz
linux-7e60353a1f5335ecd63b1c54897c2aa75874aaee.zip
drm/msm: drop unnecessary set_need_resched()
This was inherited from i915/udl, and not actually needed. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/msm/msm_gem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c
index 583286f39299..29eacfa29cfb 100644
--- a/drivers/gpu/drm/msm/msm_gem.c
+++ b/drivers/gpu/drm/msm/msm_gem.c
@@ -159,7 +159,6 @@ out_unlock:
out:
switch (ret) {
case -EAGAIN:
- set_need_resched();
case 0:
case -ERESTARTSYS:
case -EINTR: