drm/qxl: remove unused object_pin/unpin() helpers
These two helpers are unused. Remove them. They rely on gem_obj->driver_private, which is set to NULL during setup. As this field isn't used by the driver, anymore, we can remove this assignment as well. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:

committed by
Dave Airlie

parent
23a9a2e075
commit
f547b22aaf
@@ -405,9 +405,6 @@ int qxl_gem_object_create(struct qxl_device *qdev, int size,
|
||||
bool discardable, bool kernel,
|
||||
struct qxl_surface *surf,
|
||||
struct drm_gem_object **obj);
|
||||
int qxl_gem_object_pin(struct drm_gem_object *obj, uint32_t pin_domain,
|
||||
uint64_t *gpu_addr);
|
||||
void qxl_gem_object_unpin(struct drm_gem_object *obj);
|
||||
int qxl_gem_object_create_with_handle(struct qxl_device *qdev,
|
||||
struct drm_file *file_priv,
|
||||
u32 domain,
|
||||
|
Reference in New Issue
Block a user