Remove some unreachable code (kfree calls) from vme.c
Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
return resource;
- kfree(resource);
err_alloc:
/* Unlock image */
spin_lock(&master_image->lock);
return attributes;
- kfree(pattern_attr);
err_pat:
kfree(attributes);
err_attr:
return attributes;
- kfree(pci_attr);
err_pci:
kfree(attributes);
err_attr:
return attributes;
- kfree(vme_attr);
err_vme:
kfree(attributes);
err_attr: