drm: remove dev->last_switch
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / drm_context.c
index 5cc17f32eb794e8f5f728d9925e64ccc8826f723..224ff965bcf7de624c3b62b6db153bda090ea4a9 100644 (file)
@@ -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");