staging: vt6655: device_get_options remove unused variable devname

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-09-22 21:27:47 +01:00 committed by Greg Kroah-Hartman
parent 42f709eff1
commit 46fa0ec0fa
1 changed files with 2 additions and 3 deletions

View File

@ -331,8 +331,7 @@ static void vt6655_remove(struct pci_dev *pcid)
device_free_info(pDevice);
}
static void device_get_options(struct vnt_private *pDevice,
char *devname)
static void device_get_options(struct vnt_private *pDevice)
{
POPTIONS pOpts = &(pDevice->sOpts);
@ -923,7 +922,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
MACvInitialize(pDevice->PortOffset);
MACvReadEtherAddress(pDevice->PortOffset, dev->dev_addr);
device_get_options(pDevice, dev->name);
device_get_options(pDevice);
device_set_options(pDevice);
//Mask out the options cannot be set to the chip
pDevice->sOpts.flags &= pChip_info->flags;