Skip to content

Commit

Permalink
remove apparently useless funtion
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Dec 7, 2023
1 parent 579557c commit a8bc345
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/freedreno/drm/freedreno_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ fd_bo_init_common(struct fd_bo *bo, struct fd_device *dev)
VG_BO_ALLOC(bo);
}

void
fd_bo_close_handle_drm(struct fd_device *dev, uint32_t handle)
{
struct drm_gem_close req = {
.handle = handle,
};
drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &req);
}

/* allocate a new buffer object, call w/ table_lock held */
static struct fd_bo *
import_bo_from_handle(struct fd_device *dev, uint32_t size, uint32_t handle)
Expand Down

0 comments on commit a8bc345

Please sign in to comment.