提交 e230f12c 编写于 作者: R Rickard Strandqvist 提交者: Paul Moore

selinux: Remove unused function avc_sidcmp()

Remove the function avc_sidcmp() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: NRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
[PM: rewrite the patch subject line]
Signed-off-by: NPaul Moore <pmoore@redhat.com>
上级 11cd64a2
......@@ -517,11 +517,6 @@ int __init avc_add_callback(int (*callback)(u32 event), u32 events)
return rc;
}
static inline int avc_sidcmp(u32 x, u32 y)
{
return (x == y || x == SECSID_WILD || y == SECSID_WILD);
}
/**
* avc_update_node Update an AVC entry
* @event : Updating event
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册