From: Dan Carpenter Date: Wed, 30 Nov 2011 08:42:21 +0000 (+0300) Subject: Staging: comedi: unlock on error in usbdux_ao_inttrig() X-Git-Tag: v3.3-rc1~152^2~101^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6610a502738e23aab5418e82c024be201e13f02;p=pandora-kernel.git Staging: comedi: unlock on error in usbdux_ao_inttrig() If we had an invalid trignum (anything other than zero is invalid) then we returned without unlocking. I've modified this function to just have one return point. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed