Skip to content
Snippets Groups Projects
Commit 1ab488de authored by Rahul Ruikar's avatar Rahul Ruikar Committed by Dominik Brodowski
Browse files

pcmcia: vrc4173_cardu: Fix error path for pci_release_regions and pci_disable_device


- pci_release_regions called during return error path.
- pci_disable_device called for cases where earlier it was enabled.
- code duplication avoided/reduced by adding resource release at goto statements.

Signed-off-by: default avatarRahul Ruikar <rahul.ruikar@gmail.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 1c4a77bf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment