Complete the removal of obsolete ioctl handlers.

PR:		234706
Reviewed by:	imp
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18778
This commit is contained in:
markj 2019-01-09 17:23:08 +00:00
parent 28d21deef8
commit 5644e111a7
2 changed files with 0 additions and 8 deletions

View File

@ -329,10 +329,6 @@ radeon_attach(device_t kdev)
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));

View File

@ -328,10 +328,6 @@ typedef struct drm_radeon_kcmd_buffer {
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);