diff options
-rw-r--r-- | security/selinux/avc.c | 1 | ||||
-rw-r--r-- | security/selinux/netnode.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index 7f1a304712a9..3662b0f15ec5 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c | |||
@@ -288,7 +288,6 @@ static struct avc_node *avc_alloc_node(void) | |||
288 | if (!node) | 288 | if (!node) |
289 | goto out; | 289 | goto out; |
290 | 290 | ||
291 | INIT_RCU_HEAD(&node->rhead); | ||
292 | INIT_HLIST_NODE(&node->list); | 291 | INIT_HLIST_NODE(&node->list); |
293 | avc_cache_stats_incr(allocations); | 292 | avc_cache_stats_incr(allocations); |
294 | 293 | ||
diff --git a/security/selinux/netnode.c b/security/selinux/netnode.c index dc92792271f1..65ebfe954f85 100644 --- a/security/selinux/netnode.c +++ b/security/selinux/netnode.c | |||
@@ -183,8 +183,6 @@ static void sel_netnode_insert(struct sel_netnode *node) | |||
183 | BUG(); | 183 | BUG(); |
184 | } | 184 | } |
185 | 185 | ||
186 | INIT_RCU_HEAD(&node->rcu); | ||
187 | |||
188 | /* we need to impose a limit on the growth of the hash table so check | 186 | /* we need to impose a limit on the growth of the hash table so check |
189 | * this bucket to make sure it is within the specified bounds */ | 187 | * this bucket to make sure it is within the specified bounds */ |
190 | list_add_rcu(&node->list, &sel_netnode_hash[idx].list); | 188 | list_add_rcu(&node->list, &sel_netnode_hash[idx].list); |