Skip to content

Commit

Permalink
802.3ad: remove typedef around ad_system
Browse files Browse the repository at this point in the history
As typedefs are considered a bad thing most of the time remove the
typedef around ad_system.

Signed-off-by: Holger Eitzenberger <heitzenberger@astaro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Holger Eitzenberger authored and David S. Miller committed Dec 26, 2008
1 parent 1624db7 commit 87f422f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/bonding/bond_3ad.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ typedef struct port {
} port_t;

// system structure
typedef struct ad_system {
struct ad_system {
u16 sys_priority;
struct mac_addr sys_mac_addr;
} ad_system_t;
};

#ifdef __ia64__
#pragma pack()
Expand All @@ -258,7 +258,7 @@ typedef struct ad_system {
#define SLAVE_AD_INFO(slave) ((slave)->ad_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_mode; // Mode of selection of active aggregator(bandwidth/count)
int lacp_fast; /* whether fast periodic tx should be
Expand Down

0 comments on commit 87f422f

Please sign in to comment.