commit | 31398f6307d52fcb5aca6481fa4c84100aea97e3 | [log] [tgz] |
---|---|---|
author | Kurt Kanzenbach <ly80toro@cip.cs.fau.de> | Thu Apr 04 16:03:08 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 05 14:22:50 2013 -0700 |
tree | 886addb01af238a05a3e8e38dae515c7e1f687b5 | |
parent | ca9fb17e9377f820ac64e897452aaca0a079d766 [diff] |
staging: usbip: simplified errorhandling In each errorcase spin_unlock_irq is called and -EINVAL is returned. To simplify that I created a label called "err" doing that. On Success count will be returned. Signed-off-by: Kurt Kanzenbach <ly80toro@cip.cs.fau.de> Signed-off-by: Stefan Reif <ke42caxa@cip.cs.fau.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>