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: NKurt Kanzenbach <ly80toro@cip.cs.fau.de> Signed-off-by: NStefan Reif <ke42caxa@cip.cs.fau.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录