V4L/DVB (10946): radio-rtrack2: fix double mutex_unlock
authorAlexey Klimov <klimov.linux@gmail.com>
Tue, 10 Mar 2009 08:14:00 +0000 (05:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:18 +0000 (12:43 -0300)
Patch fixes double mutex unlocking.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-rtrack2.c

index 08bd8d9dc4f1576cd7e3afe0a9450ed6af0d7d67..202085978116cf256bab13e5071bb4c61c811c4b 100644 (file)
@@ -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;
 }