staging: vt6655: remove unused multicast_limit.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 12 Sep 2015 18:10:31 +0000 (19:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Sep 2015 15:50:45 +0000 (08:50 -0700)
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>
drivers/staging/vt6655/device.h
drivers/staging/vt6655/device_main.c

index be42e4472c84c7c740541c0c3fba539603c76935..f020bb1522e007c360dc573f4e866a23160bdc7f 100644 (file)
@@ -256,7 +256,6 @@ struct vnt_private {
 
        u32                         rx_buf_sz;
        u8 rx_rate;
-       int                         multicast_limit;
 
        u32                         rx_bytes;
 
index 4bc9ba0b4b7171c0860cbf6b993fca8734a87d72..fcc4510f81b35450e846a18bca81f87fcf956af6 100644 (file)
@@ -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));
 }