From 7d879c70801f86dfb662f347b180e1c7ac41ec8f Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 11 Jul 2007 03:55:57 -0400 Subject: [PATCH] Avoid __LINE__ in debug messages Printing line number can be misleading. Limit it to the messages that are not unique throughout the code. Signed-off-by: Pavel Roskin --- at76_usb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/at76_usb.c b/at76_usb.c index bb8b714..2a3a784 100644 --- a/at76_usb.c +++ b/at76_usb.c @@ -2013,10 +2013,10 @@ static void at76_handle_mgmt_timeout_scan(struct at76_priv *priv) /* INFO: Hope it was a one off error - if not, scanning further down the line and stop this cycle */ } - at76_dbg(DBG_PROGRESS, "%s %s:%d got cmd_status %d (istate %d, " - "scan_runs %d)", - priv->netdev->name, __func__, __LINE__, status, - priv->istate, priv->scan_runs); + at76_dbg(DBG_PROGRESS, + "%s %s: got cmd_status %d (istate %d, scan_runs %d)", + priv->netdev->name, __func__, status, priv->istate, + priv->scan_runs); if (status != CMD_STATUS_COMPLETE) { if ((status != CMD_STATUS_IN_PROGRESS) && -- cgit v1.2.3