Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp484712pxb; Fri, 15 Oct 2021 09:28:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCzqGUHPcKNKwxBDVYXVBzjag7A+SW4jNWjtlVFk11TRi+Xom+qLFUoe6sUg1dnCzekK8k X-Received: by 2002:a17:90b:314d:: with SMTP id ip13mr14569707pjb.13.1634315307459; Fri, 15 Oct 2021 09:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634315307; cv=none; d=google.com; s=arc-20160816; b=MBJF5zHTgB2rn7JqEIfXPDPDx1FEheoHL5kaNg3uB3BFdAb1yvFMqnBzKwh+NCNyL+ D0JiO4yt3KajHnOCEchMUhqvxG9MsJziRcxrIPhtLvD/C2aWTI6rcsWXv7OLNrBrVGJw aaWeG6defloiO/i1fy7GnPblvR7LvcPkIM5JRpfA1eL6KWkNLrStjhx2ai9xZMZD/gXQ I3DvWGRG+oowy6wm5Xvo50V7uUKyo9S9jjMTC07hG0N3mrVl86E/En6xnGjnPOgTW2Zl qeLz/F0h5vkpl3jAOtLR51OwLc7ScJsYQwjV2eQUBJPibnhuVLBpz8I2xFR8YEoQ3//d ukfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=op+HNLMBUHzQbQUCNJqXYbl6qrAihTXYHHlG6IkhZIQ=; b=jjccmab+CElmf38b3aPPqZeDewd/MJ0mMYNs+Y4p6oB/1frbvjaf/sU1E90uAzJWbX uWqFzGASwkbKUo1258deHm39qafBEabswkHQ9HDNqGfn2JlsNngEh8RS56CKzksDZcfa 1IYQqGEzIsPMBgHHPv7w4nHKptAq5LPogp30ibanYGu+BZpq5C1WO8fRggwddopEqAcH B3p/EEqRjb++phHLD0ikB7hC2yMiT+ouxb0dOGamT0nqSjut2NI1NiZgsMYqoG8h/EH3 KSSFz9nRypv7+kZbUTgveIcBcnor8m6NyY2u4EPR1Gh7in3I+0xF6vBzlws3o0bUOUgc eHuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ob13si10253761pjb.78.2021.10.15.09.28.14; Fri, 15 Oct 2021 09:28:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236967AbhJOIe0 (ORCPT + 99 others); Fri, 15 Oct 2021 04:34:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232214AbhJOIeZ (ORCPT ); Fri, 15 Oct 2021 04:34:25 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8637FC061570 for ; Fri, 15 Oct 2021 01:32:19 -0700 (PDT) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1mbIdP-0001aj-JY; Fri, 15 Oct 2021 10:32:11 +0200 Date: Fri, 15 Oct 2021 10:32:11 +0200 From: Martin Kaiser To: Phillip Potter Cc: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net, straube.linux@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: r8188eu: remove MSG_88E calls from hal/usb_halinit.c Message-ID: <20211015083211.ngbgtmhkh3lh5kzj@viti.kaiser.cx> References: <20211015000233.842-1-phil@philpotter.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211015000233.842-1-phil@philpotter.co.uk> User-Agent: NeoMutt/20170113 (1.7.2) Sender: Martin Kaiser Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thus wrote Phillip Potter (phil@philpotter.co.uk): > Remove both MSG_88E calls from hal/usb_halinit.c, as these calls serve > no purpose other than to print the name of the function they are in > (_ReadAdapterInfo8188EU) on entry and on exit, with a timing of the > function, which is better accomplished by other means. Also remove > the jiffies assignment at the start of the function, as it is no > longer used. > Signed-off-by: Phillip Potter > --- > drivers/staging/r8188eu/hal/usb_halinit.c | 6 ------ > 1 file changed, 6 deletions(-) > diff --git a/drivers/staging/r8188eu/hal/usb_halinit.c b/drivers/staging/r8188eu/hal/usb_halinit.c > index f6db5b05e6e7..abbd107ad3c1 100644 > --- a/drivers/staging/r8188eu/hal/usb_halinit.c > +++ b/drivers/staging/r8188eu/hal/usb_halinit.c > @@ -1073,15 +1073,9 @@ static void _ReadRFType(struct adapter *Adapter) > static int _ReadAdapterInfo8188EU(struct adapter *Adapter) > { > - u32 start = jiffies; > - > - MSG_88E("====> %s\n", __func__); > - > _ReadRFType(Adapter);/* rf_chip -> _InitRFType() */ > _ReadPROMContent(Adapter); > - MSG_88E("<==== %s in %d ms\n", __func__, rtw_get_passing_time_ms(start)); > - > return _SUCCESS; > } Makes sense to me. We should get rid of the prints that show only the function name. Acked-by: Martin Kaiser