From c336e5d682cf672d48247e83712ddb0203ec2288 Mon Sep 17 00:00:00 2001 From: Aaron Goodman Date: Tue, 10 Nov 2020 08:50:39 -0500 Subject: [PATCH] mwan3: remove unused device lookup in status check Signed-off-by: Aaron Goodman --- net/mwan3/files/usr/libexec/rpcd/mwan3 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/mwan3/files/usr/libexec/rpcd/mwan3 b/net/mwan3/files/usr/libexec/rpcd/mwan3 index a97b33d5c..7368b3be3 100755 --- a/net/mwan3/files/usr/libexec/rpcd/mwan3 +++ b/net/mwan3/files/usr/libexec/rpcd/mwan3 @@ -77,9 +77,8 @@ get_mwan3_status() { local online=0 local offline=0 local up="0" - local enabled device time_p time_n time_u time_d status track_status + local enabled time_p time_n time_u time_d status track_status - network_get_device device $1 if [ "${iface}" = "${iface_select}" ] || [ "${iface_select}" = "" ]; then track_status="$(mwan3_get_mwan3track_status "$1")"