]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e78a234295376d52824cc8d52fdc49ac98cdd6e
tree0f3807a406bb996a44601f18e473038aed279c8a
parent42796aceaa19007cea3a81780fee7fb2fa3bf108
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