diff options
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/subscr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/subscr.c b/net/tipc/subscr.c index b2964e9895d3..af93ea924f60 100644 --- a/net/tipc/subscr.c +++ b/net/tipc/subscr.c @@ -56,7 +56,6 @@ struct tipc_subscriber { /** * struct top_srv - TIPC network topology subscription service - * @user_ref: TIPC userid of subscription service * @setup_port: reference to TIPC port that handles subscription requests * @subscription_count: number of active subscriptions (not subscribers!) * @subscriber_list: list of ports subscribing to service @@ -535,7 +534,6 @@ int tipc_subscr_start(void) struct tipc_name_seq seq = {TIPC_TOP_SRV, TIPC_TOP_SRV, TIPC_TOP_SRV}; int res; - memset(&topsrv, 0, sizeof(topsrv)); spin_lock_init(&topsrv.lock); INIT_LIST_HEAD(&topsrv.subscriber_list); |