Skip to content

Commit

Permalink
V4L/DVB (5624): Radio-maestro.c cleanup
Browse files Browse the repository at this point in the history
Removed unnecessary semaphore.

Signed-off-by:  Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Douglas Landgraf authored and Mauro Carvalho Chehab committed May 9, 2007
1 parent 7002a4f commit 9d3eb99
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/radio/radio-maestro.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
Expand Down Expand Up @@ -110,7 +109,6 @@ struct radio_device {
muted, /* VIDEO_AUDIO_MUTE */
stereo, /* VIDEO_TUNER_STEREO_ON */
tuned; /* signal strength (0 or 0xffff) */
struct mutex lock;
};

static u32 radio_bits_get(struct radio_device *dev)
Expand Down Expand Up @@ -394,7 +392,6 @@ static int __devinit maestro_probe(struct pci_dev *pdev,
}

radio_unit->io = pci_resource_start(pdev, 0) + GPIO_DATA;
mutex_init(&radio_unit->lock);

maestro_radio_inst = video_device_alloc();
if (maestro_radio_inst == NULL) {
Expand Down

0 comments on commit 9d3eb99

Please sign in to comment.