summaryrefslogtreecommitdiff
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorRamkrishna Vepa <ram.vepa@neterion.com>2007-03-09 18:28:32 -0800
committerJeff Garzik <jeff@garzik.org>2007-04-28 11:01:01 -0400
commit0c61ed5fe2c36b502a716a2ea3dd24e846029287 (patch)
treed840f706be1e43f13b85a1d7f8759eda32b7c1ef /drivers/net/s2io.h
parent1e2b980fdfb6189baa779ba7de93f7dba70aa3fd (diff)
downloadlinux-3.10-0c61ed5fe2c36b502a716a2ea3dd24e846029287.tar.gz
linux-3.10-0c61ed5fe2c36b502a716a2ea3dd24e846029287.tar.bz2
linux-3.10-0c61ed5fe2c36b502a716a2ea3dd24e846029287.zip
S2io: Remove unused variables
- Remove unused variables from s2io_nic structure - Changed the memory failure printk messages to print only in debug mode - Updated the copyright messages (Resending; due to patch being corrupted) Signed-off-by: Santosh Rastapur <santosh.rastapur@neterion.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 803137ca4b6..a656d18b33d 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -1,6 +1,6 @@
/************************************************************************
* s2io.h: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC
- * Copyright(c) 2002-2005 Neterion Inc.
+ * Copyright(c) 2002-2007 Neterion Inc.
* This software may be used and distributed according to the terms of
* the GNU General Public License (GPL), incorporated herein by reference.
@@ -760,7 +760,6 @@ struct s2io_nic {
#define MAX_SUPPORTED_MULTICASTS MAX_MAC_SUPPORTED
struct mac_addr def_mac_addr[MAX_MAC_SUPPORTED];
- struct mac_addr pre_mac_addr[MAX_MAC_SUPPORTED];
struct net_device_stats stats;
int high_dma_flag;
@@ -794,11 +793,6 @@ struct s2io_nic {
u16 all_multi_pos;
u16 promisc_flg;
- u16 tx_pkt_count;
- u16 rx_pkt_count;
- u16 tx_err_count;
- u16 rx_err_count;
-
/* Id timer, used to blink NIC to physically identify NIC. */
struct timer_list id_timer;