From 644d9a25df0f352ff93646b50d5305b9837f4371 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 14 Jul 2020 09:42:17 +0200 Subject: [PATCH] mwan3: remove unused variable complained by shellcheck Signed-off-by: Florian Eckert --- net/mwan3/files/lib/mwan3/mwan3.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index adfaeb79de..3c4f25cc40 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -1146,8 +1146,6 @@ mwan3_report_policies_v6() mwan3_report_connected_v4() { - local address - if [ -n "$($IPT4 -S mwan3_connected 2> /dev/null)" ]; then $IPS -o save list mwan3_connected_v4 | grep add | cut -d " " -f 3 fi @@ -1155,8 +1153,6 @@ mwan3_report_connected_v4() mwan3_report_connected_v6() { - local address - if [ -n "$($IPT6 -S mwan3_connected 2> /dev/null)" ]; then $IPS -o save list mwan3_connected_v6 | grep add | cut -d " " -f 3 fi -- 2.30.2