From 1c75f636ed18ff224ca81da411fe67e2cb9d9b90 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 4 May 2020 08:24:19 -0700 Subject: [PATCH] wiphy: remove useless debug prints Several parsing functions printed the function name, which isn't very useful to anyone. --- src/wiphy.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/wiphy.c b/src/wiphy.c index 139474d2..9821da0e 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -715,8 +715,6 @@ static void parse_supported_frequencies(struct wiphy *wiphy, const void *data; struct l_genl_attr attr; - l_debug(""); - while (l_genl_attr_next(freqs, NULL, NULL, NULL)) { if (!l_genl_attr_recurse(freqs, &attr)) continue; @@ -786,8 +784,6 @@ static void parse_supported_bands(struct wiphy *wiphy, uint16_t type; struct l_genl_attr attr; - l_debug(""); - while (l_genl_attr_next(bands, &type, NULL, NULL)) { enum nl80211_band band = type; @@ -1081,8 +1077,6 @@ void wiphy_update_from_genl(struct wiphy *wiphy, struct l_genl_msg *msg) if (wiphy->blacklisted) return; - l_debug(""); - wiphy_parse_attributes(wiphy, msg); }