提交 08e3daff 编写于 作者: A Amerigo Wang 提交者: James Morris

selinux: remove a useless return

The last return is unreachable, remove the 'return'
in default, let it fall through.
Signed-off-by: NWANG Cong <amwang@redhat.com>
Acked-by: NEric Paris <eparis@redhat.com>
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册