V4L/DVB: v4l2-dev: remove unnecessary lock around atomic clear_bit
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 2 May 2010 08:11:32 +0000 (05:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:56 +0000 (12:58 -0300)
commitdd0daf2a6fb6bec436a3ef68bd585ea09a2a54b7
tree5583293904a5e1383b9eb0baf6f823e2b4bb6ae5
parent0eed42e48a6292ebc96606c6a7105c69b37666d0
V4L/DVB: v4l2-dev: remove unnecessary lock around atomic clear_bit

No need to lock when unregistering the device: clear_bit is already an
atomic operation.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c