]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - ubuntu/vbox/vboxvideo/vbox_mode.c
UBUNTU: ubuntu: vbox -- update to 5.2.6-dfsg-1
[mirror_ubuntu-bionic-kernel.git] / ubuntu / vbox / vboxvideo / vbox_mode.c
index 00119e11d05af1597ac55fc94babfbacedba1509..5c21944cd9b2b95f9bb528f04f8a6b31f310a746 100644 (file)
@@ -396,11 +396,7 @@ static struct drm_encoder *vbox_best_single_encoder(struct drm_connector
 
        /* pick the encoder ids */
        if (enc_id)
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
-               return drm_encoder_find(connector->dev, NULL, enc_id);
-#else
                return drm_encoder_find(connector->dev, enc_id);
-#endif
 
        return NULL;
 }