Index: sys/dev/drm2/radeon/radeon_drv.h =================================================================== --- sys/dev/drm2/radeon/radeon_drv.h +++ sys/dev/drm2/radeon/radeon_drv.h @@ -328,10 +328,6 @@ extern int radeon_no_wb; extern struct drm_ioctl_desc radeon_ioctls[]; extern int radeon_max_ioctl; -#ifdef COMPAT_FREEBSD32 -extern struct drm_ioctl_desc radeon_compat_ioctls[]; -extern int radeon_num_compat_ioctls; -#endif extern u32 radeon_get_ring_head(drm_radeon_private_t *dev_priv); extern void radeon_set_ring_head(drm_radeon_private_t *dev_priv, u32 val); Index: sys/dev/drm2/radeon/radeon_drv.c =================================================================== --- sys/dev/drm2/radeon/radeon_drv.c +++ sys/dev/drm2/radeon/radeon_drv.c @@ -329,10 +329,6 @@ if (radeon_modeset == 1) { kms_driver.driver_features |= DRIVER_MODESET; kms_driver.num_ioctls = radeon_max_kms_ioctl; -#ifdef COMPAT_FREEBSD32 - kms_driver.compat_ioctls = radeon_compat_ioctls; - kms_driver.num_compat_ioctls = &radeon_num_compat_ioctls; -#endif radeon_register_atpx_handler(); } return (-drm_attach_helper(kdev, pciidlist, &kms_driver));