[2/2] wio.cgi: Remove code lines that are commented out

Message ID 20220413080020.3664760-2-adolf.belka@ipfire.org
State Accepted
Commit aee369fea30e210bf1088e88116610f8ce970a4b
Headers
Series [1/2] wio.pl: Fix bug 12799 - Remove code scanning for all potential IP's on RED interface |

Commit Message

Adolf Belka April 13, 2022, 8 a.m. UTC
  - These lines were introduced with another patch related to removing IPFire start/stop
   capability from wio
- The lines were introduced in commented out form and so are doing nothing.
- It looks like they were added as part of a debugging or investigation work on wio

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 src/wio/wio.cgi | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Bernhard Bitsch April 13, 2022, 9:06 a.m. UTC | #1
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>

Am 13.04.2022 um 10:00 schrieb Adolf Belka:
> - These lines were introduced with another patch related to removing IPFire start/stop
>     capability from wio
> - The lines were introduced in commented out form and so are doing nothing.
> - It looks like they were added as part of a debugging or investigation work on wio
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>   src/wio/wio.cgi | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/src/wio/wio.cgi b/src/wio/wio.cgi
> index 1dcec52fe..a61102894 100644
> --- a/src/wio/wio.cgi
> +++ b/src/wio/wio.cgi
> @@ -128,9 +128,6 @@ my @devs_alt   = ('green','blue','orange','red');
>   
>   my %ifacecolor = ( GREEN => 'wio_run_green', BLUE => 'wio_run_blue', ORANGE => 'wio_run_orange');
>   
> -#if ( $netsettings{'RED_TYPE'} eq 'STATIC' || $netsettings{'RED_TYPE'} eq 'DHCP' ) {
> -#	%ifacecolor = ( %ifacecolor, RED => 'wio_run_red' );
> -#}
>   
>   &loadips();
>
  

Patch

diff --git a/src/wio/wio.cgi b/src/wio/wio.cgi
index 1dcec52fe..a61102894 100644
--- a/src/wio/wio.cgi
+++ b/src/wio/wio.cgi
@@ -128,9 +128,6 @@  my @devs_alt   = ('green','blue','orange','red');
 
 my %ifacecolor = ( GREEN => 'wio_run_green', BLUE => 'wio_run_blue', ORANGE => 'wio_run_orange');
 
-#if ( $netsettings{'RED_TYPE'} eq 'STATIC' || $netsettings{'RED_TYPE'} eq 'DHCP' ) {
-#	%ifacecolor = ( %ifacecolor, RED => 'wio_run_red' );
-#}
 
 &loadips();