Skip to content

Commit

Permalink
V4L/DVB (5877): radio-gemtek-pci: remove unused structure member
Browse files Browse the repository at this point in the history
The drivers reads the PCI subsystem ID into its state structure, but it's
never used anywhere.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Trent Piepho authored and Mauro Carvalho Chehab committed Jul 20, 2007
1 parent 32b78de commit 2fc9e2f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/radio/radio-gemtek-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ struct gemtek_pci_card {

u32 iobase;
u32 length;
u16 model;

u32 current_frequency;
u8 mute;
Expand Down Expand Up @@ -413,8 +412,6 @@ static int __devinit gemtek_pci_probe( struct pci_dev *pci_dev, const struct pci
goto err_pci;
}

pci_read_config_word( pci_dev, PCI_SUBSYSTEM_ID, &card->model );

pci_set_drvdata( pci_dev, card );

if ( (devradio = kmalloc( sizeof( struct video_device ), GFP_KERNEL )) == NULL ) {
Expand Down

0 comments on commit 2fc9e2f

Please sign in to comment.