staging: vme: remove unreachable code

Remove some more unreachable code found in bridges/vme_ca91cx42.c
and bridges/vme_tsi148.c

Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Manohar Vanga 2011-02-27 00:15:35 +01:00 committed by Greg Kroah-Hartman
parent b004646779
commit 5bfcf90bfb
2 changed files with 0 additions and 5 deletions

View File

@ -560,8 +560,6 @@ static int ca91cx42_alloc_resource(struct vme_master_resource *image,
return 0;
iounmap(image->kern_base);
image->kern_base = NULL;
err_remap:
release_resource(&image->bus_resource);
err_resource:
@ -1782,7 +1780,6 @@ static int ca91cx42_probe(struct pci_dev *pdev, const struct pci_device_id *id)
return 0;
vme_unregister_bridge(ca91cx42_bridge);
err_reg:
ca91cx42_crcsr_exit(ca91cx42_bridge, pdev);
err_lm:

View File

@ -869,8 +869,6 @@ static int tsi148_alloc_resource(struct vme_master_resource *image,
return 0;
iounmap(image->kern_base);
image->kern_base = NULL;
err_remap:
release_resource(&image->bus_resource);
err_resource: