Commit 87f422f8 authored by Holger Eitzenberger's avatar Holger Eitzenberger Committed by David S. Miller

802.3ad: remove typedef around ad_system

As typedefs are considered a bad thing most of the time remove the
typedef around ad_system.
Signed-off-by: default avatarHolger Eitzenberger <heitzenberger@astaro.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1624db7b
...@@ -244,10 +244,10 @@ typedef struct port { ...@@ -244,10 +244,10 @@ typedef struct port {
} port_t; } port_t;
// system structure // system structure
typedef struct ad_system { struct ad_system {
u16 sys_priority; u16 sys_priority;
struct mac_addr sys_mac_addr; struct mac_addr sys_mac_addr;
} ad_system_t; };
#ifdef __ia64__ #ifdef __ia64__
#pragma pack() #pragma pack()
...@@ -258,7 +258,7 @@ typedef struct ad_system { ...@@ -258,7 +258,7 @@ typedef struct ad_system {
#define SLAVE_AD_INFO(slave) ((slave)->ad_info) #define SLAVE_AD_INFO(slave) ((slave)->ad_info)
struct ad_bond_info { struct ad_bond_info {
ad_system_t system; // 802.3ad system structure struct ad_system system; /* 802.3ad system structure */
u32 agg_select_timer; // Timer to select aggregator after all adapter's hand shakes u32 agg_select_timer; // Timer to select aggregator after all adapter's hand shakes
u32 agg_select_mode; // Mode of selection of active aggregator(bandwidth/count) u32 agg_select_mode; // Mode of selection of active aggregator(bandwidth/count)
int lacp_fast; /* whether fast periodic tx should be int lacp_fast; /* whether fast periodic tx should be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment