From 140c626a4bb6d5ea0b1ff2fda5f297d15fd88779 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 23 Jul 2019 09:21:17 -0500 Subject: [PATCH] monitor: Remove duplicate monitor_interface structure The global structure was intended to be used, not the one local to the main function. --- monitor/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/monitor/main.c b/monitor/main.c index 7c36c95f..d978c940 100644 --- a/monitor/main.c +++ b/monitor/main.c @@ -693,7 +693,6 @@ int main(int argc, char *argv[]) const char *reader_path = NULL; const char *analyze_path = NULL; const char *ifname = NULL; - struct iwmon_interface monitor_interface = { }; uint16_t nl80211_family = 0; int exit_status;