From 73eb8a11275ecadf7f49ffc1e67f7cef35188182 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sat, 12 Sep 2015 19:10:31 +0100 Subject: [PATCH] staging: vt6655: remove unused multicast_limit. multicast_limit is assigned a vale that is never used. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device.h | 1 - drivers/staging/vt6655/device_main.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index be42e4472c84..f020bb1522e0 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -256,7 +256,6 @@ struct vnt_private { u32 rx_buf_sz; u8 rx_rate; - int multicast_limit; u32 rx_bytes; diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 4bc9ba0b4b71..fcc4510f81b3 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -442,7 +442,6 @@ static void vt6655_init_info(struct pci_dev *pcid, memset(*ppDevice, 0, sizeof(**ppDevice)); (*ppDevice)->pcid = pcid; - (*ppDevice)->multicast_limit = 32; spin_lock_init(&((*ppDevice)->lock)); } -- 2.20.1