diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-10 14:11:37 +0200 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-07-23 19:20:20 +1000 |
commit | a17800c70129d5976a52c42f04a16a0f1d9df4b2 (patch) | |
tree | df40741a025dbf7715ba4cb3001b3f0af65592cf /drivers/gpu/drm/drm_context.c | |
parent | 3dadef6c96c8aa6e67f83b30504256a0605ee4d6 (diff) | |
download | blackbird-op-linux-a17800c70129d5976a52c42f04a16a0f1d9df4b2.tar.gz blackbird-op-linux-a17800c70129d5976a52c42f04a16a0f1d9df4b2.zip |
drm: remove dev->last_switch
Only ever assigned in the context code for real, with no readers
anywhere. Remove it.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/drm_context.c')
-rw-r--r-- | drivers/gpu/drm/drm_context.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c index 5cc17f32eb79..224ff965bcf7 100644 --- a/drivers/gpu/drm/drm_context.c +++ b/drivers/gpu/drm/drm_context.c @@ -251,7 +251,6 @@ static int drm_context_switch_complete(struct drm_device *dev, struct drm_file *file_priv, int new) { dev->last_context = new; /* PRE/POST: This is the _only_ writer. */ - dev->last_switch = jiffies; if (!_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) { DRM_ERROR("Lock isn't held after context switch\n"); |