diff options
author | Ramkrishna Vepa <ram.vepa@neterion.com> | 2007-03-09 21:28:32 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 11:01:01 -0400 |
commit | 0c61ed5fe2c36b502a716a2ea3dd24e846029287 (patch) | |
tree | d840f706be1e43f13b85a1d7f8759eda32b7c1ef /drivers/net/s2io.h | |
parent | 1e2b980fdfb6189baa779ba7de93f7dba70aa3fd (diff) |
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.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 803137ca4b6c..a656d18b33df 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /************************************************************************ | 1 | /************************************************************************ |
2 | * s2io.h: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC | 2 | * s2io.h: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC |
3 | * Copyright(c) 2002-2005 Neterion Inc. | 3 | * Copyright(c) 2002-2007 Neterion Inc. |
4 | 4 | ||
5 | * This software may be used and distributed according to the terms of | 5 | * This software may be used and distributed according to the terms of |
6 | * the GNU General Public License (GPL), incorporated herein by reference. | 6 | * the GNU General Public License (GPL), incorporated herein by reference. |
@@ -760,7 +760,6 @@ struct s2io_nic { | |||
760 | #define MAX_SUPPORTED_MULTICASTS MAX_MAC_SUPPORTED | 760 | #define MAX_SUPPORTED_MULTICASTS MAX_MAC_SUPPORTED |
761 | 761 | ||
762 | struct mac_addr def_mac_addr[MAX_MAC_SUPPORTED]; | 762 | struct mac_addr def_mac_addr[MAX_MAC_SUPPORTED]; |
763 | struct mac_addr pre_mac_addr[MAX_MAC_SUPPORTED]; | ||
764 | 763 | ||
765 | struct net_device_stats stats; | 764 | struct net_device_stats stats; |
766 | int high_dma_flag; | 765 | int high_dma_flag; |
@@ -794,11 +793,6 @@ struct s2io_nic { | |||
794 | u16 all_multi_pos; | 793 | u16 all_multi_pos; |
795 | u16 promisc_flg; | 794 | u16 promisc_flg; |
796 | 795 | ||
797 | u16 tx_pkt_count; | ||
798 | u16 rx_pkt_count; | ||
799 | u16 tx_err_count; | ||
800 | u16 rx_err_count; | ||
801 | |||
802 | /* Id timer, used to blink NIC to physically identify NIC. */ | 796 | /* Id timer, used to blink NIC to physically identify NIC. */ |
803 | struct timer_list id_timer; | 797 | struct timer_list id_timer; |
804 | 798 | ||