From 46fa0ec0fa4d396e94ac9a8d3e01e6da1f35efdd Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Mon, 22 Sep 2014 21:27:47 +0100 Subject: [PATCH] staging: vt6655: device_get_options remove unused variable devname Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 1a1440f65724..76d5454c68ea 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -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; -- 2.20.1