summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-07-20 00:11:36 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-07-20 00:11:36 -0700
commit1079247820cf7d49cc44f78477fd0da737fbabd5 (patch)
tree0bec085c8f7f342cf11f28b085aa3cf27dfad9c8 /linux/drivers
parent66bdbb2c4fd4d078e0497e4643e20ecd3eab6622 (diff)
downloadmediapointer-dvb-s2-1079247820cf7d49cc44f78477fd0da737fbabd5.tar.gz
mediapointer-dvb-s2-1079247820cf7d49cc44f78477fd0da737fbabd5.tar.bz2
radio-gemtek-pci: remove unused structure member
From: Trent Piepho <xyzzy@speakeasy.org> 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>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/radio/radio-gemtek-pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/drivers/media/radio/radio-gemtek-pci.c b/linux/drivers/media/radio/radio-gemtek-pci.c
index 02242f1b3..b0c7b640d 100644
--- a/linux/drivers/media/radio/radio-gemtek-pci.c
+++ b/linux/drivers/media/radio/radio-gemtek-pci.c
@@ -95,7 +95,6 @@ struct gemtek_pci_card {
u32 iobase;
u32 length;
- u16 model;
u32 current_frequency;
u8 mute;
@@ -414,8 +413,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 ) {