From 372a1c05e69e4cde6e495b37bf91bfc75f9d9bc8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 11 Jan 2022 11:06:10 -0600 Subject: [PATCH] scan: Simplify debug statement l_debug will already print the function name, so including it in the printed string is redundant --- src/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scan.c b/src/scan.c index 36c85f43..2becb1b9 100644 --- a/src/scan.c +++ b/src/scan.c @@ -1000,7 +1000,7 @@ static void scan_periodic_timeout(struct l_timeout *timeout, void *user_data) { struct scan_context *sc = user_data; - l_debug("scan_periodic_timeout: %" PRIx64, sc->wdev_id); + l_debug("%" PRIx64, sc->wdev_id); sc->sp.interval *= 2; if (sc->sp.interval > SCAN_MAX_INTERVAL)