V4L/DVB: media/IR/imon: potential double unlock on error
authorDan Carpenter <error27@gmail.com>
Tue, 4 May 2010 11:36:34 +0000 (08:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:04 +0000 (12:59 -0300)
commit9723dbb034e45775037c5dd098652e1628a1c9ef
tree0f3807a406bb996a44601f18e473038aed279c8a
parent5f6e3c8e34bc02800b499e09828ac1061e004977
V4L/DVB: media/IR/imon: potential double unlock on error

If there is an error here we should unlock in the caller (which is
imon_init_intf1()).  We can remove this stray unlock.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/imon.c