summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-09-12 19:10:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-14 08:50:45 -0700
commit73eb8a11275ecadf7f49ffc1e67f7cef35188182 (patch)
tree4dc233fdf1d456d7f600a669faa1af8be4b8ba5a /drivers
parent319755a72226e8c433077b7839aa6064080917fc (diff)
staging: vt6655: remove unused multicast_limit.
multicast_limit is assigned a vale that is never used. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/vt6655/device.h1
-rw-r--r--drivers/staging/vt6655/device_main.c1
2 files changed, 0 insertions, 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));
}