Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp397987pxy; Fri, 30 Apr 2021 07:45:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUOCawBQKCsaSZ0QMgQtSLU8redwTtQaIe3leqnFXsaNCVKMEyvHsx6+XvHxNZwrrwj7Ek X-Received: by 2002:a63:1111:: with SMTP id g17mr4950738pgl.267.1619793950997; Fri, 30 Apr 2021 07:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619793950; cv=none; d=google.com; s=arc-20160816; b=hvp1cCoPeqDXnZpt5p2DKMRmm7hU+nx8wXjsqANtSoos8Vg5JiQONjCGVTtw1gg0df zkc3Xyex14doJwYeeYLMM8haDxiXbX67+AOx6I8FSstwbamNY88ANRsRo3cxEjlsK7na ihxyqgQmxC8noPZBsa01A2WbqbyIdlIwU2CbFStyT/EowHJ2CtvZ41muiIIAFO4SDGOL t4sLQmjUYym41Th4W2kHzYRBEQm4lgPtbqqp76rpqSN+vBU+2+I0GCPiwsaC3VZshx+3 baTi7oy89SMbexLfNdj4eZshojlgJtIgMtC4aBdZ5Yt4V3stPtr1Qva55KANx/Dh8+wk jqNg== 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=To5Vs4KwxhQBIQUiXfT+kEa1NbW/RrIHm/UCYNTGQs4=; b=IfbVia2Mj0FbQglqhKkJkkjU8vJozRJyPYT+M7mHdBpK1dcl9Ipu+ba1Sj4+cc8cEf nUxUyg9Wy6FfO+CLX2iH7wsNOy9vLy1Q/gaF4jiaZ7DIjPX8NXegKOKwYkmCbjTwxgDL 3KPuvjovhJ35tsyQeX8OWo7Dos53YSA4e2sJvcKcrFzZHkQ/STG3lJER1joBLaAFZzel hElP3ysvnsn7OdRj3v+DUBPSyl+YXXcyE/UHd01C3Mkzj2UKIH3BanTS2FOB4soLc9Cz kO0smVwNS1+1zQE+Z6hNbe0ApjGGRn9Yqp1FlzC2oBZQuqC1ZPsK4eMQUCcZuv4//WoA cC/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=d3GVzqh3; 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 85si1578872pgc.207.2021.04.30.07.45.38; Fri, 30 Apr 2021 07:45:50 -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=d3GVzqh3; 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 S233361AbhD3Op0 (ORCPT + 99 others); Fri, 30 Apr 2021 10:45:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233134AbhD3OpP (ORCPT ); Fri, 30 Apr 2021 10:45:15 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC778C06138B for ; Fri, 30 Apr 2021 07:44:26 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id c22so19287440edn.7 for ; Fri, 30 Apr 2021 07:44:26 -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=To5Vs4KwxhQBIQUiXfT+kEa1NbW/RrIHm/UCYNTGQs4=; b=d3GVzqh3cIJ2kTDbiFmWkIxu0xae8TF50ikxxDLwKh20iUeyObjynelbULg/cNaGg/ iFjbvcDpaN0jkSXYte0or8ZMVdZCYuftG0Hw7FMcADdyZ7KwuXhwmqBXP98on09Qxgrl HOsHIp71figOvAnRwRRCc6jVzV9AwyxVW10PH1WF4LaokpwzaSH4z0GrMkTNsEBnSxm0 tIyt98mhsocFiqaY6A/TAie5CDM0TcLnFqvo3CjkjkRdbvGKT3DOb/gF18nNtSbTxW2R EJcHaDf/KzxB5axT2FjHmXXMzgdH6xMsZIkB3dXDnn8gSFkEqi63cAc2wEpqstxaV79U q3ig== 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=To5Vs4KwxhQBIQUiXfT+kEa1NbW/RrIHm/UCYNTGQs4=; b=Yb1/nhzuT480gRCeCjohMQRsYVeW8QEtMsgh2WaR/BLsNijgVVLO+CZdrwRdqm2Poj tIkGCsh+le3sNKf+Z4jvvZdVVlq7T4JlyVOObNsf5Pzsac8mfGvtSfEO8r29aKscHSm1 TPQd68vfPv07lJNVnO+/sjAdJlFXe8cAVMu26VPUENMVp/kZhGSJJOw9RFjgdjk0jvXN kIa2Zslxhb7eTwd2K9Oqt1ooZfE4udIgfMprnjh586uGORzo0HV97GGccjBOND1TJbv2 vfiUgsmWsvOsRNsGvVlpRxSAUEWAZ3cX6XLmALu6lUEjvs3YCeMMbIJUA1/zVhneXA8/ R6Ew== X-Gm-Message-State: AOAM531XJDSUoYd37ImcPhr+UtuVMfWwy1NBo6xjzMqzSNzSmXOILK/d cDlAWgR6JIMhKQnlz08X0U7e6epBlUc= X-Received: by 2002:aa7:d513:: with SMTP id y19mr6287666edq.9.1619793865431; Fri, 30 Apr 2021 07:44:25 -0700 (PDT) Received: from agape ([109.52.244.36]) by smtp.gmail.com with ESMTPSA id w1sm1487670edt.89.2021.04.30.07.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 07:44:25 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/43] staging: rtl8723bs: remove ODM_RT_TRACE* unused macro defs Date: Fri, 30 Apr 2021 16:43:37 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove unused ODM_RT_TRACE* macro defs. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/odm_debug.h | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.h b/drivers/staging/rtl8723bs/hal/odm_debug.h index be0d4c49a747..09e8bfec7664 100644 --- a/drivers/staging/rtl8723bs/hal/odm_debug.h +++ b/drivers/staging/rtl8723bs/hal/odm_debug.h @@ -96,27 +96,6 @@ #endif #if DBG -#define ODM_RT_TRACE(pDM_Odm, comp, level, fmt)\ - do {\ - if (\ - (comp & pDM_Odm->DebugComponents) &&\ - (level <= pDM_Odm->DebugLevel ||\ - level == ODM_DBG_SERIOUS)\ - ) {\ - RT_PRINTK fmt;\ - } \ - } while (0) - -#define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt)\ - do {\ - if (\ - (comp & pDM_Odm->DebugComponents) &&\ - (level <= pDM_Odm->DebugLevel)\ - ) {\ - RT_PRINTK fmt;\ - } \ - } while (0) - #define ODM_RT_ASSERT(pDM_Odm, expr, fmt)\ do {\ if (!expr) {\ @@ -150,8 +129,6 @@ } \ } while (0) #else -#define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) no_printk fmt -#define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt) no_printk fmt #define ODM_RT_ASSERT(pDM_Odm, expr, fmt) no_printk fmt #define ODM_dbg_enter() do {} while (0) #define ODM_dbg_exit() do {} while (0) -- 2.20.1