summaryrefslogtreecommitdiff
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/netnode.c')
-rw-r--r--security/selinux/netnode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/netnode.c b/security/selinux/netnode.c
index 03a72c32afd7..c5454c0477c3 100644
--- a/security/selinux/netnode.c
+++ b/security/selinux/netnode.c
@@ -166,7 +166,6 @@ static void sel_netnode_insert(struct sel_netnode *node)
break;
default:
BUG();
- return;
}
/* we need to impose a limit on the growth of the hash table so check
@@ -226,7 +225,6 @@ static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid)
break;
default:
BUG();
- ret = -EINVAL;
}
if (ret != 0)
goto out;