Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

staging: vt6655: device_get_options remove unused variable devname

parent 42f709ef
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;