Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c =================================================================== --- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_drv.c +++ VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c @@ -283,11 +283,6 @@ static struct drm_driver driver = { .lastclose = vbox_driver_lastclose, .master_set = vbox_master_set, .master_drop = vbox_master_drop, -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73) -# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) && !defined(RHEL_75) - .set_busid = drm_pci_set_busid, -# endif -#endif .fops = &vbox_fops, .irq_handler = vbox_irq_handler, Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_main.c =================================================================== --- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_main.c +++ VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_main.c @@ -600,13 +600,6 @@ int vbox_dumb_destroy(struct drm_file *f } #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0) -static void ttm_bo_put(struct ttm_buffer_object *bo) -{ - ttm_bo_unref(&bo); -} -#endif - void vbox_gem_free_object(struct drm_gem_object *obj) { struct vbox_bo *vbox_bo = gem_to_vbox_bo(obj);