|
@@ -272,7 +272,7 @@ static struct notifier_block sel_netif_netdev_notifier = {
|
|
|
|
|
|
static __init int sel_netif_init(void)
|
|
static __init int sel_netif_init(void)
|
|
{
|
|
{
|
|
- int i, err;
|
|
|
|
|
|
+ int i;
|
|
|
|
|
|
if (!selinux_enabled)
|
|
if (!selinux_enabled)
|
|
return 0;
|
|
return 0;
|
|
@@ -282,7 +282,7 @@ static __init int sel_netif_init(void)
|
|
|
|
|
|
register_netdevice_notifier(&sel_netif_netdev_notifier);
|
|
register_netdevice_notifier(&sel_netif_netdev_notifier);
|
|
|
|
|
|
- return err;
|
|
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
|
|
|
|
__initcall(sel_netif_init);
|
|
__initcall(sel_netif_init);
|