diff --git a/drivers/video/aperture.c b/drivers/video/aperture.c index 7ea18086e659..5c94abdb1ad6 100644 --- a/drivers/video/aperture.c +++ b/drivers/video/aperture.c @@ -344,15 +344,13 @@ int aperture_remove_conflicting_pci_devices(struct pci_dev *pdev, const char *na aperture_detach_devices(base, size); } - if (primary) { - /* - * WARNING: Apparently we must kick fbdev drivers before vgacon, - * otherwise the vga fbdev driver falls over. - */ - ret = vga_remove_vgacon(pdev); - if (ret) - return ret; - } + /* + * WARNING: Apparently we must kick fbdev drivers before vgacon, + * otherwise the vga fbdev driver falls over. + */ + ret = vga_remove_vgacon(pdev); + if (ret) + return ret; return 0;