From: Malcolm Priestley Date: Mon, 22 Sep 2014 20:27:47 +0000 (+0100) Subject: staging: vt6655: device_get_options remove unused variable devname X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=46fa0ec0fa4d396e94ac9a8d3e01e6da1f35efdd;p=linux-beck.git staging: vt6655: device_get_options remove unused variable devname Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- 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;