mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
selinux: remove unused variabled in the netport, netnode, and netif caches
This patch removes the unused return code variable in the netport, netnode, and netif initialization functions. Reported-by: fengguang.wu@intel.com Signed-off-by: Paul Moore <pmoore@redhat.com>
This commit is contained in:
@@ -303,7 +303,6 @@ void sel_netnode_flush(void)
|
||||
static __init int sel_netnode_init(void)
|
||||
{
|
||||
int iter;
|
||||
int ret;
|
||||
|
||||
if (!selinux_enabled)
|
||||
return 0;
|
||||
@@ -313,7 +312,7 @@ static __init int sel_netnode_init(void)
|
||||
sel_netnode_hash[iter].size = 0;
|
||||
}
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
__initcall(sel_netnode_init);
|
||||
|
||||
Reference in New Issue
Block a user