From: Aaron Goodman Date: Tue, 10 Nov 2020 13:50:39 +0000 (-0500) Subject: mwan3: remove unused device lookup in status check X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c336e5d682cf672d48247e83712ddb0203ec2288;p=openwrt-packages.git mwan3: remove unused device lookup in status check Signed-off-by: Aaron Goodman --- 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")"