diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-07-20 03:11:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 16:35:56 -0400 |
commit | 2fc9e2f78acd06d0a76a05abb2802cc4616453e3 (patch) | |
tree | cf09f13da5c5a99290a07d5926957851c6b45a42 /drivers/media | |
parent | 32b78de7fee70a0bdb2081b23fc2b676ec566814 (diff) |
V4L/DVB (5877): radio-gemtek-pci: remove unused structure member
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/radio/radio-gemtek-pci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-gemtek-pci.c b/drivers/media/radio/radio-gemtek-pci.c index 4db05b2b1b6e..99a323131333 100644 --- a/drivers/media/radio/radio-gemtek-pci.c +++ b/drivers/media/radio/radio-gemtek-pci.c | |||
@@ -94,7 +94,6 @@ struct gemtek_pci_card { | |||
94 | 94 | ||
95 | u32 iobase; | 95 | u32 iobase; |
96 | u32 length; | 96 | u32 length; |
97 | u16 model; | ||
98 | 97 | ||
99 | u32 current_frequency; | 98 | u32 current_frequency; |
100 | u8 mute; | 99 | u8 mute; |
@@ -413,8 +412,6 @@ static int __devinit gemtek_pci_probe( struct pci_dev *pci_dev, const struct pci | |||
413 | goto err_pci; | 412 | goto err_pci; |
414 | } | 413 | } |
415 | 414 | ||
416 | pci_read_config_word( pci_dev, PCI_SUBSYSTEM_ID, &card->model ); | ||
417 | |||
418 | pci_set_drvdata( pci_dev, card ); | 415 | pci_set_drvdata( pci_dev, card ); |
419 | 416 | ||
420 | if ( (devradio = kmalloc( sizeof( struct video_device ), GFP_KERNEL )) == NULL ) { | 417 | if ( (devradio = kmalloc( sizeof( struct video_device ), GFP_KERNEL )) == NULL ) { |