From: Malcolm Priestley Date: Sat, 12 Sep 2015 18:10:31 +0000 (+0100) Subject: staging: vt6655: remove unused multicast_limit. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=73eb8a11275ecadf7f49ffc1e67f7cef35188182;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- 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)); }