Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp640763pxf; Thu, 18 Mar 2021 08:29:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4m3qilS5Mf8Am39zR8NFBfCjCSztBwAp6sqm4C7fqIboRaZxjjgBjZA2/RypWGyfLzPU6 X-Received: by 2002:a05:6402:42d1:: with SMTP id i17mr4188314edc.131.1616081344476; Thu, 18 Mar 2021 08:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616081344; cv=none; d=google.com; s=arc-20160816; b=arJsdXMzanQqIXA8Fpv2ZP7nss7jLPKabMskthgVHcbYE4EiLjyriq3nOroNQ/tzH+ Ph/Ko1D8mVsKJ7DnTUTnrd0305g/A6AlI4KNwf8oDoMfpp/s0L5ELZ7Nh05oVmIpWnY3 ItIMgOdDayRAdafjARjfr/NNFXIXnqYLY3n11BmzDq4GQjgnzbeT23Un7rO9A+rBcj64 bvZn2EGNud2RoJAs583nSxKfN+kxbMBc/KXF+EFGG+rTs88jjFaJCBiYPJLnP1pNnIS2 SnuHsRnC9rzJtUh4tlEZCociQLgpb01msnQDv2vL1LKw44ypIiFZOemrrCoqrAFrDY6Y 5KfQ== 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=XHTDPddOoVLkUdJc2DU5agYlYSsR4ub1kogsH0wzRWA=; b=rOlxks4SaxIuhignMRpiorLDvi4i/ByhWzzfH8M8Cjrj426zidYiPMF3b8EB76Ijp7 kzPz89nHh5t3+xhuefg4FkuF2GcZVBYx+qPjY3bx+yrNP5YumknG1XsEmoQfLWJ2H3f6 tbkPbBR5lTuDIg2fT7Do1auOXo6TZGb/XC+zGFZBzG11FzS44GdB7bmlU9jRUQUqwuE3 4AnLG8G1iPAN+tuRNL9+IiVHUeadiSbYhkc1JqCLkom9WPmWr8ik26ERk0GvimJ6+2v3 kNDOknjKcNeHGoDDBATy6MTexuFhto+Ao0YstNCHQgxrzWRPlga8wjiX+8sSi76F0A53 9Fnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nGEOKR3X; 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 z14si1893993edq.36.2021.03.18.08.28.41; Thu, 18 Mar 2021 08:29:04 -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=nGEOKR3X; 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 S231908AbhCRP1Z (ORCPT + 99 others); Thu, 18 Mar 2021 11:27:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231835AbhCRP1I (ORCPT ); Thu, 18 Mar 2021 11:27:08 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CCE8C06174A for ; Thu, 18 Mar 2021 08:27:08 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id m20-20020a7bcb940000b029010cab7e5a9fso5657887wmi.3 for ; Thu, 18 Mar 2021 08:27:08 -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=XHTDPddOoVLkUdJc2DU5agYlYSsR4ub1kogsH0wzRWA=; b=nGEOKR3XKt81VREQbES5zSHFnUF5ZuJEknl3hd3pGMjBGpVS3XdO8DyBVz/a3dar49 lUoqJu087XxPOJNqJ8dvnSpB3Eit/KT7zGCH/zloovrqYLb+lPAcyW+0yg1zRwckLdnq 50OoTndSHiA53QYDX27KoFvYhaGlG/YP4NS+89AsGOImK9I+TGsLyQlDlJC+brGI/mLI twSILbR+aHRXvp4Wj/Of3lgbSpVx444zo2bGcP6VcIW4gWNnI4xFgqULuRiUBN5+QTfJ BzMhhIOaL1mj+VQnEc7aUN/IZQOO8XeZzrEY+hkGKb1H5j51gxIzvyllpV4SAsE1TqG2 LS9A== 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=XHTDPddOoVLkUdJc2DU5agYlYSsR4ub1kogsH0wzRWA=; b=rcbGiDDm+ZuxBfeRU3BLMHrJAP70khx/j92qLR3u1C6U9sbrEjogOteOSOv1r1j5Th oXw8gLSpupUl0kRgoKvJgt1qfrbnc5+VLIfyJa+Dy61IkZQWhUJ17crdbZPiInXmc78Y OVh4RFgCq9dYLQFMj4WnmFz3egFqL/LD1k/r+8DT2+2+yXFllRkZdHvZjEOj7NHgtNui s3CUYJLyHkisbUOfgcRKtVzv4EX3VDv6iMb9WuiK7TS+wKWRF/r2cAMDD+8YsifZFyFN SReaSgU5BSi1p3IfAPBYa8P3OQA+I7ct+onkBBwDPM4xMwC/mbx8Wg9jzl19PfjO50F/ w6fw== X-Gm-Message-State: AOAM5317J65P7bPWNvRTCJ1Rp4Kgpuz3Rz1m6i9N/HHFkXl2Bvn1eWrJ Re2DOCsvN3Rkx4jPatLz0Ph1UTEqxYqZbA== X-Received: by 2002:a1c:a7d3:: with SMTP id q202mr4128873wme.93.1616081227052; Thu, 18 Mar 2021 08:27:07 -0700 (PDT) Received: from agape ([151.46.162.59]) by smtp.gmail.com with ESMTPSA id j30sm3855479wrj.62.2021.03.18.08.27.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 08:27:06 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 09/15] staging: rtl8723bs: remove unnecessary logging in hal/odm_debug.h Date: Thu, 18 Mar 2021 16:26:04 +0100 Message-Id: <20210318152610.16758-10-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 134: FILE: drivers/staging/rtl8723bs/hal/odm_debug.h:134: +#define ODM_dbg_enter() { DbgPrint("==> %s\n", __func__); } -- WARNING: Unnecessary ftrace-like logging - prefer using ftrace 135: FILE: drivers/staging/rtl8723bs/hal/odm_debug.h:135: +#define ODM_dbg_exit() { DbgPrint("<== %s\n", __func__); } and removed containing unused macros Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/odm_debug.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.h b/drivers/staging/rtl8723bs/hal/odm_debug.h index 22f0e37456e2..f2b2e169a6ac 100644 --- a/drivers/staging/rtl8723bs/hal/odm_debug.h +++ b/drivers/staging/rtl8723bs/hal/odm_debug.h @@ -131,8 +131,6 @@ ASSERT(false);\ } \ } while (0) -#define ODM_dbg_enter() { DbgPrint("==> %s\n", __func__); } -#define ODM_dbg_exit() { DbgPrint("<== %s\n", __func__); } #define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); } #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)\ -- 2.20.1