diff options
-rw-r--r-- | sys/dev/pci/drm/drm_scatter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_scatter.c b/sys/dev/pci/drm/drm_scatter.c index 6a6c81095ac..e18aa7a8ecd 100644 --- a/sys/dev/pci/drm/drm_scatter.c +++ b/sys/dev/pci/drm/drm_scatter.c @@ -44,8 +44,6 @@ drm_sg_cleanup(drm_sg_mem_t *entry) if (entry) { if (entry->mem) drm_sg_dmamem_free(entry->mem); - if (entry->handle) - free((void *)entry->handle, M_DRM); if (entry->busaddr) free(entry->busaddr, M_DRM); free(entry, M_DRM); |