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>
return 0;
- iounmap(image->kern_base);
- image->kern_base = NULL;
err_remap:
release_resource(&image->bus_resource);
err_resource:
return 0;
- vme_unregister_bridge(ca91cx42_bridge);
err_reg:
ca91cx42_crcsr_exit(ca91cx42_bridge, pdev);
err_lm:
return 0;
- iounmap(image->kern_base);
- image->kern_base = NULL;
err_remap:
release_resource(&image->bus_resource);
err_resource: