diff options
author | Sinclair Yeh <syeh@vmware.com> | 2017-03-23 09:59:26 -0700 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2017-03-31 09:13:08 -0700 |
commit | 27d247c678a09fcac08d6865db73e41b23d3d5f3 (patch) | |
tree | a0e6b264ed8e6dc91618772636fdf8f8b1de0a09 /drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | |
parent | 8cd3ac52963f2e99f4c21d1c9ce89531ce66c2d6 (diff) |
drm/vmwgfx: Removed unused snooper.crtc field
This field is not being used anymore
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index d492d57d5309..6bcba56ef158 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c @@ -188,7 +188,6 @@ int vmw_du_crtc_cursor_set2(struct drm_crtc *crtc, struct drm_file *file_priv, /* takedown old cursor */ if (du->cursor_surface) { - du->cursor_surface->snooper.crtc = NULL; vmw_surface_unreference(&du->cursor_surface); } if (du->cursor_dmabuf) @@ -200,7 +199,6 @@ int vmw_du_crtc_cursor_set2(struct drm_crtc *crtc, struct drm_file *file_priv, /* vmw_user_surface_lookup takes one reference */ du->cursor_surface = surface; - du->cursor_surface->snooper.crtc = crtc; du->cursor_age = du->cursor_surface->snooper.age; ret = vmw_cursor_update_image(dev_priv, surface->snooper.image, 64, 64, hotspot_x, hotspot_y); |