diff options
Diffstat (limited to 'driver/xf86-video-ati/src/radeon_probe.c')
-rw-r--r-- | driver/xf86-video-ati/src/radeon_probe.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/driver/xf86-video-ati/src/radeon_probe.c b/driver/xf86-video-ati/src/radeon_probe.c index 65cf0c9fa..6d6d8c549 100644 --- a/driver/xf86-video-ati/src/radeon_probe.c +++ b/driver/xf86-video-ati/src/radeon_probe.c @@ -127,11 +127,8 @@ radeon_get_scrninfo(int entity_num, void *pci_dev) if (!pScrn) return FALSE; - if (pci_dev) { - if (!radeon_kernel_mode_enabled(pScrn, pci_dev)) { + if (!radeon_kernel_mode_enabled(pScrn, pci_dev)) return FALSE; - } - } pScrn->driverVersion = RADEON_VERSION_CURRENT; pScrn->driverName = RADEON_DRIVER_NAME; |