Skip to content

Commit

Permalink
V4L/DVB (10946): radio-rtrack2: fix double mutex_unlock
Browse files Browse the repository at this point in the history
Patch fixes double mutex unlocking.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Alexey Klimov authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 5c8e240 commit 7d7b4b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/radio/radio-rtrack2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7d7b4b6

Please sign in to comment.