Commit 08e3daff authored by Amerigo Wang's avatar Amerigo Wang Committed by James Morris

selinux: remove a useless return

The last return is unreachable, remove the 'return'
in default, let it fall through.
Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 937bf613
...@@ -541,8 +541,8 @@ int mls_compute_sid(struct context *scontext, ...@@ -541,8 +541,8 @@ int mls_compute_sid(struct context *scontext,
case AVTAB_MEMBER: case AVTAB_MEMBER:
/* Use the process effective MLS attributes. */ /* Use the process effective MLS attributes. */
return mls_context_cpy_low(newcontext, scontext); return mls_context_cpy_low(newcontext, scontext);
default:
return -EINVAL; /* fall through */
} }
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment