remove duplicate checks in interfaces.inc

This commit is contained in:
Ad Schellevis 2016-09-15 14:46:33 +02:00
parent 0db74efff4
commit 5ad7adc60a

View File

@ -2988,10 +2988,6 @@ function interface_track6_6rd_configure($interface = 'lan', $lancfg)
{
global $config;
if (!is_array($lancfg)) {
return;
}
/* If the interface is not configured via another, exit */
if (empty($lancfg['track6-interface'])) {
return;
@ -3049,10 +3045,6 @@ function interface_track6_6to4_configure($interface = 'lan', $lancfg)
{
global $config;
if (!is_array($lancfg)) {
return;
}
/* If the interface is not configured via another, exit */
if (empty($lancfg['track6-interface'])) {
return;