summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_nic.c
diff options
context:
space:
mode:
authorSteven Toth <[email protected]>2016-10-06 11:26:51 -0400
committerEmil Velikov <[email protected]>2016-10-06 16:37:06 +0100
commite00fdd643b98c0ec22a05089c338cb5142003282 (patch)
tree2ec23c0ecb91f9c456707847cf04cd8235cb5fb4 /src/gallium/auxiliary/hud/hud_nic.c
parent03350c970803cf76b802fca8e7c7a635c97cf8f7 (diff)
gallium/hud: Remove superfluous debug
No longer required. Signed-off-by: Steven Toth <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_nic.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_nic.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/auxiliary/hud/hud_nic.c b/src/gallium/auxiliary/hud/hud_nic.c
index 36088a07ed4..fb6b8c0524b 100644
--- a/src/gallium/auxiliary/hud/hud_nic.c
+++ b/src/gallium/auxiliary/hud/hud_nic.c
@@ -48,8 +48,6 @@
#include <sys/ioctl.h>
#include <linux/wireless.h>
-#define LOCAL_DEBUG 0
-
struct nic_info
{
struct list_head list;
@@ -168,13 +166,6 @@ query_nic_rssi(const struct nic_info *nic, uint64_t *leveldBm)
*leveldBm = ((char) stats.qual.level * -1);
close(sockfd);
-
-#if LOCAL_DEBUG
- printf("NIC signal level%s is %d%s.\n",
- (stats.qual.updated & IW_QUAL_DBM ? " (in dBm)" : ""),
- (char) stats.qual.level,
- (stats.qual.updated & IW_QUAL_LEVEL_UPDATED ? " (updated)" : ""));
-#endif
}
static void
@@ -268,13 +259,6 @@ hud_nic_graph_install(struct hud_pane *pane, const char *nic_name,
if (num_nics <= 0)
return;
-#if LOCAL_DEBUG
- printf("%s(%s, %s) - Creating HUD object\n", __func__, nic_name,
- mode == NIC_DIRECTION_RX ? "RX" :
- mode == NIC_DIRECTION_TX ? "TX" :
- mode == NIC_RSSI_DBM ? "RSSI" : "UNDEFINED");
-#endif
-
nic = find_nic_by_name(nic_name, mode);
if (!nic)
return;