mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
net: bridge: make struct opening bracket consistent
Currently we have a mix of opening brackets on new lines and on the same line, let's move them all on the same line. Signed-off-by: Nikolay Aleksandrov <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
37ac5db6e6
commit
1c1cb6d032
1 changed files with 4 additions and 8 deletions
|
|
@ -54,14 +54,12 @@ typedef struct bridge_id bridge_id;
|
|||
typedef struct mac_addr mac_addr;
|
||||
typedef __u16 port_id;
|
||||
|
||||
struct bridge_id
|
||||
{
|
||||
struct bridge_id {
|
||||
unsigned char prio[2];
|
||||
unsigned char addr[ETH_ALEN];
|
||||
};
|
||||
|
||||
struct mac_addr
|
||||
{
|
||||
struct mac_addr {
|
||||
unsigned char addr[ETH_ALEN];
|
||||
};
|
||||
|
||||
|
|
@ -207,8 +205,7 @@ struct net_bridge_port_group {
|
|||
unsigned char eth_addr[ETH_ALEN];
|
||||
};
|
||||
|
||||
struct net_bridge_mdb_entry
|
||||
{
|
||||
struct net_bridge_mdb_entry {
|
||||
struct hlist_node hlist[2];
|
||||
struct net_bridge *br;
|
||||
struct net_bridge_port_group __rcu *ports;
|
||||
|
|
@ -218,8 +215,7 @@ struct net_bridge_mdb_entry
|
|||
bool host_joined;
|
||||
};
|
||||
|
||||
struct net_bridge_mdb_htable
|
||||
{
|
||||
struct net_bridge_mdb_htable {
|
||||
struct hlist_head *mhash;
|
||||
struct rcu_head rcu;
|
||||
struct net_bridge_mdb_htable *old;
|
||||
|
|
|
|||
Loading…
Reference in a new issue