OSDN Git Service

Merge tag 'fbdev-fixes-for-3.3-1' of git://github.com/schandinat/linux-2.6
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / drivers / video / intelfb / intelfbdrv.c
index c6afa33..02fd226 100644 (file)
@@ -529,7 +529,6 @@ static int __devinit intelfb_pci_register(struct pci_dev *pdev,
        if (fb_alloc_cmap(&info->cmap, 256, 1) < 0) {
                ERR_MSG("Could not allocate cmap for intelfb_info.\n");
                goto err_out_cmap;
-               return -ENODEV;
        }
 
        dinfo = info->par;