Staging: comedi: usbdux: release locks on error paths
authorDan Carpenter <error27@gmail.com>
Thu, 30 Jun 2011 09:02:05 +0000 (12:02 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:24:18 +0000 (09:24 -0700)
commit85678d5d27cb0ea1005316f51b1b062bf4609b66
tree2634392da402720765b5c107676536f9bd96072f
parent880e96166c2cd1d84df0ccb02d413dcbf422796b
Staging: comedi: usbdux: release locks on error paths

Smatch complains about a couple error paths where the semaphores
were not released.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/usbdux.c