diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2014-09-09 11:13:26 -0700 |
---|---|---|
committer | Jarno Rajahalme <jrajahalme@nicira.com> | 2014-09-09 11:45:44 -0700 |
commit | 37db915e434ab01b3c7cf131afd591f5bab46db9 (patch) | |
tree | 27c3fed5dc7621fca37021cb514688a8144d69a8 /lib/rstp-common.h | |
parent | a0478216c69a0d4ba06095d6cc67a3190dd8a309 (diff) | |
download | openvswitch-37db915e434ab01b3c7cf131afd591f5bab46db9.tar.gz |
lib/rstp: Eliminate ports_count.
It was only used to guard against unintialized list.
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Daniele Venturino <daniele.venturino@m3s.it>
Diffstat (limited to 'lib/rstp-common.h')
-rw-r--r-- | lib/rstp-common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rstp-common.h b/lib/rstp-common.h index d4d7feb7f..0da1b5683 100644 --- a/lib/rstp-common.h +++ b/lib/rstp-common.h @@ -867,7 +867,6 @@ struct rstp { /* Ports */ struct list ports OVS_GUARDED_BY(rstp_mutex); - uint16_t ports_count OVS_GUARDED_BY(rstp_mutex); struct ovs_refcount ref_cnt; |