Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp640662pxf; Thu, 18 Mar 2021 08:28:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWa0TuBBlr+D434qI2GGozqSchPJAqi46AzZ8ndtdchAUUm6UkVKgyM7sW8vXj1NM6KwAj X-Received: by 2002:a17:906:86c6:: with SMTP id j6mr40137370ejy.197.1616081339208; Thu, 18 Mar 2021 08:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616081339; cv=none; d=google.com; s=arc-20160816; b=vi/ZIPxCNXFbuSmgnVCmahqft/15q+wvrOjHQbBzK4ZBirD/8htqX9lIgjXqaqEe6V IIC9SwmASQr5MXhfdgwasQLDFkb/wTKIVY7DfhzYF7OhPwH1nt/7ips09r+5NqtH5QkV UsuB1Z38M5Ba7nlDuTXsgebwMAfIl7tXgX+XVwzJnuMVBvSZaYhQRhc4/BkhlvwZj8IF T2ikUdOdXm9RHUSYAhU+dR2par/1vqbAkeDliFS4xE6+lzsDIVoQc5pSdyd+Cn/qRTEJ k8xP+Rn/o5b0NXQD8VZ5PGk+7F2uB2phGhiCCf6x1x97AteQbtxhEPUuT8Sfj4pphii7 z+Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=V6RdrbDpubj6J5vihjKmeNa/I/cW+KIcqKlP2w3YSfo=; b=lPhF8hZ2YVmxqszSzO64MG1+bcQMI8K2kECSbAf9xqAChJzNjVHYP/rkGXQXvLR5MW L2e7Qqq6Btv7LpOlacLjOmcoZWdAeT4ZjPX8EYq0RoK8XKR1MZq5hw05MtjxEin4yMgd JpOU7E8rLiMQxjZr8KRdJOMtP2CGskYaTOq1nz7pZYtSjyRa320cdXzUMHU3gceOv1wb VIYRRWm6+W5FgzVs9OLvhfjjKMIMhh0s/ZhoDjWtpYRZ0UJBnxUE6nRsbw+h4PXtoAJg GszF5haDmDbhMKtHlwdVubwlEJ3+glZdvDuVWfjPnXjj6/PUsh1Ac9JvCb8RgAezBIDJ cMhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lvF9CcQ+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by3si1787992edb.496.2021.03.18.08.28.36; Thu, 18 Mar 2021 08:28:59 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lvF9CcQ+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231897AbhCRP1W (ORCPT + 99 others); Thu, 18 Mar 2021 11:27:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231806AbhCRP1A (ORCPT ); Thu, 18 Mar 2021 11:27:00 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76740C06174A for ; Thu, 18 Mar 2021 08:27:00 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id t9so5960228wrn.11 for ; Thu, 18 Mar 2021 08:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V6RdrbDpubj6J5vihjKmeNa/I/cW+KIcqKlP2w3YSfo=; b=lvF9CcQ+nh1eANtGR5piZmX0xhis2WOD6zBSg9SKnsI7XBn6LgdobHwd0l4QC7lkoh c/QFA4xOXQubE/HFiK0EbWTigASycwilxjnM12ZGC8LAPEbK8Xh1z4UE0UFsFsY6mtvU 26UngOeNhrq0LLc2lXEO/AhlokAW52hXaIDdweaLS1C1qG5Osxo6q4/ghvt1l4kfynBe eo1NCz5Hw0gFKm/Jn3o0yg+QMR2JNlMNwnrDO2NBfIrM4RWDuUT2v4rPlNSBsPFQlTZs ywaA0dN4XTFJayEjmZtc7XeGCjkX/ry/LYKaoGIVy93bkGKhYQXawbW/TqYDMfPqmCTA hBSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V6RdrbDpubj6J5vihjKmeNa/I/cW+KIcqKlP2w3YSfo=; b=gqL3ArGWFz+7AoP63+L5L7JX0hgnLX+e7nV9/RPQ6KprdqPtMZMRfwElUU/h28AIZe C87fCyaPnM4pyUYN69EOYHDdYSGweaM7HDfKRQWLTDE4LkATI8g/oI8jl2VI1mctpVMA xQyyj0DmYpBdDGvA3eBVVY7vuSXyAz89TqH/8tKNJdkSSa18VvEC69QUa+hG/SxtkZjk ye87EsUSoOcroWrqgiSJIU4lRvUhpAJ10U23IFlhmhJMLh/TTB+t2+qTHvyQNgxuIBun ahaLEcaD3BoK5t7Kqod2/JBUqN9n5Q+P21agZoFZIAGt21A9ZLYk/L+9SQU2JvAdjIqK gduQ== X-Gm-Message-State: AOAM5304eGLd23SZJL6R1+48ctaUz9VHIMU96+IFhzWnzrQfl+aNOsAp aEFM93ogfgfYDCbH54WY+cQ= X-Received: by 2002:adf:84e6:: with SMTP id 93mr9793845wrg.376.1616081219262; Thu, 18 Mar 2021 08:26:59 -0700 (PDT) Received: from agape ([151.46.162.59]) by smtp.gmail.com with ESMTPSA id s83sm2626320wms.16.2021.03.18.08.26.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 08:26:58 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 06/15] staging: rtl8723bs: remove unnecessary logging in hal/HalBtcOutSrc.h Date: Thu, 18 Mar 2021 16:26:01 +0100 Message-Id: <20210318152610.16758-7-fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210318152610.16758-1-fabioaiuto83@gmail.com> References: <20210318152610.16758-1-fabioaiuto83@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix the following checkpatch.pl issues: WARNING: Unnecessary ftrace-like logging - prefer using ftrace 126: FILE: drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h:126: + DbgPrint("%s(): ", __func__);\ and remove the whole unused containing macro BTC_PRINT_F Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h index c38baf2bc412..aac8e8ed080d 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h +++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h @@ -120,14 +120,6 @@ extern u32 GLBtcDbgType[]; DbgPrint printstr;\ } -#define BTC_PRINT_F(dbgtype, dbgflag, printstr)\ -{\ - if (GLBtcDbgType[dbgtype] & dbgflag) {\ - DbgPrint("%s(): ", __func__);\ - DbgPrint printstr;\ - } \ -} - #define BTC_PRINT_ADDR(dbgtype, dbgflag, printstr, _Ptr)\ {\ if (GLBtcDbgType[dbgtype] & dbgflag) {\ -- 2.20.1