diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2009-03-10 11:14:00 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 19:43:18 +0400 |
commit | 7d7b4b635298fcf4c205a89486eb5f397c130f5b (patch) | |
tree | c2fdb60faed3a0b611e8ffe44917b9384fc86016 /drivers/media/radio/radio-rtrack2.c | |
parent | 5c8e2403ba06d39f04f6ae62f3afe5542e0eb533 (diff) | |
download | linux-7d7b4b635298fcf4c205a89486eb5f397c130f5b.tar.xz |
V4L/DVB (10946): radio-rtrack2: fix double mutex_unlock
Patch fixes double mutex unlocking.
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/radio-rtrack2.c')
-rw-r--r-- | drivers/media/radio/radio-rtrack2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-rtrack2.c b/drivers/media/radio/radio-rtrack2.c index 08bd8d9dc4f1..202085978116 100644 --- a/drivers/media/radio/radio-rtrack2.c +++ b/drivers/media/radio/radio-rtrack2.c @@ -60,7 +60,6 @@ static void rt_mute(struct rtrack2 *dev) mutex_lock(&dev->lock); outb(1, dev->io); mutex_unlock(&dev->lock); - mutex_unlock(&dev->lock); dev->muted = 1; } |