diff options
author | Amerigo Wang <amwang@redhat.com> | 2009-12-03 03:48:28 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-12-07 22:58:11 -0500 |
commit | 08e3daff217059c84c360cc71212686e0a7995af (patch) | |
tree | ac2dd60ab2309a82b72e57f15fef72401f5102d1 /security | |
parent | 937bf6133b21b16965f75223085f4314ae32b8eb (diff) |
selinux: remove a useless return
The last return is unreachable, remove the 'return'
in default, let it fall through.
Signed-off-by: WANG Cong <amwang@redhat.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/ss/mls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/ss/mls.c b/security/selinux/ss/mls.c index 3f2b2706b5bb..e6654b543aed 100644 --- a/security/selinux/ss/mls.c +++ b/security/selinux/ss/mls.c | |||
@@ -541,8 +541,8 @@ int mls_compute_sid(struct context *scontext, | |||
541 | case AVTAB_MEMBER: | 541 | case AVTAB_MEMBER: |
542 | /* Use the process effective MLS attributes. */ | 542 | /* Use the process effective MLS attributes. */ |
543 | return mls_context_cpy_low(newcontext, scontext); | 543 | return mls_context_cpy_low(newcontext, scontext); |
544 | default: | 544 | |
545 | return -EINVAL; | 545 | /* fall through */ |
546 | } | 546 | } |
547 | return -EINVAL; | 547 | return -EINVAL; |
548 | } | 548 | } |