Commit 46fa0ec0 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6655: device_get_options remove unused variable devname

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42f709ef
...@@ -331,8 +331,7 @@ static void vt6655_remove(struct pci_dev *pcid) ...@@ -331,8 +331,7 @@ static void vt6655_remove(struct pci_dev *pcid)
device_free_info(pDevice); device_free_info(pDevice);
} }
static void device_get_options(struct vnt_private *pDevice, static void device_get_options(struct vnt_private *pDevice)
char *devname)
{ {
POPTIONS pOpts = &(pDevice->sOpts); POPTIONS pOpts = &(pDevice->sOpts);
...@@ -923,7 +922,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent) ...@@ -923,7 +922,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
MACvInitialize(pDevice->PortOffset); MACvInitialize(pDevice->PortOffset);
MACvReadEtherAddress(pDevice->PortOffset, dev->dev_addr); MACvReadEtherAddress(pDevice->PortOffset, dev->dev_addr);
device_get_options(pDevice, dev->name); device_get_options(pDevice);
device_set_options(pDevice); device_set_options(pDevice);
//Mask out the options cannot be set to the chip //Mask out the options cannot be set to the chip
pDevice->sOpts.flags &= pChip_info->flags; pDevice->sOpts.flags &= pChip_info->flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment