diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-01-27 15:58:33 +0300 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-28 19:39:17 +0000 |
commit | 7bc1dc7174d06104fde069a3b5aef1c5b902a5c9 (patch) | |
tree | 633e3ee07d71a3cc9b958de7793e563f991be1ba /drivers/video | |
parent | 64a9de8f07bf9ca909561c50d9f9e63bb7221b91 (diff) | |
download | linux-stable-7bc1dc7174d06104fde069a3b5aef1c5b902a5c9.tar.gz linux-stable-7bc1dc7174d06104fde069a3b5aef1c5b902a5c9.tar.bz2 linux-stable-7bc1dc7174d06104fde069a3b5aef1c5b902a5c9.zip |
intelfb: remove some dead code
The goto on the line before means the return is unreachable. The goto
also returns -ENODEV so no changes are needed there.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index 5ba399991050..a5947c94145f 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c @@ -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; |