Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp91384pxy; Fri, 30 Apr 2021 00:46:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9ZEtLlklOMGBM7IR959cZwF7LcUWqxKL6b/h27fmHkDI5pMYjGrPPP/5GKfVjNhNjL9xM X-Received: by 2002:a63:b59:: with SMTP id a25mr3451600pgl.235.1619768777195; Fri, 30 Apr 2021 00:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619768777; cv=none; d=google.com; s=arc-20160816; b=GyqgJdy6YYcT6tFlIkmwiGrj78gZRm37nF7c1ht5JDnJpjtSv/AhSSTHQ9XhXFZtl5 0PLS1qscaYP0nT2ecXqVJXIm0B4nXf4lpSJraMjYaFQhzdDgPxAjRPDUdgxTJo58OZ05 0dh7kGyKuFVGSXjkJz8ssyZbm/ViLkxnW3pg+eA2gzaGjzTdulmEBu0/h1mAMh6Of6sb RTSFwU12Le5Vd2ZjkczhpDNBPWqG+gaFb97XWOs/DeEkTlLFfjRh6kpHpWDBzQbxpiD7 VOFn43Eu/xY7S/Pf38rECmvkqUixlZ03NaCubu3W+7r8CVNAQP11hGKmWrX5E9mg2tsZ 6jhw== 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=EkTXw+UrM2wYCxNZsOy4gcxyM1XqC056VTNVEgdSP/k=; b=TL9oNvucW+1ZpAnGidA3b+QstWyDHiEc2V5JYgCUHNJU14WnzD18ept/NrAcbxEOff aFWBAo1xR125LrdJnpJOWISqX3yOZ5ZgOrXz76FX5mHYynZjSDFI5jBrw35Q1qA4oi0F en43rfFG66vhYoqH40lD2mSomd9YompAgdBRUYnx0JzvnF+gg0Xz/FQ4mG16NOAgsI0K OSjJf7b1vJHL7w3cIgBGWx+0kIHSDho9o+bR1LWZHPHLqiDWWBkylu62Bt+bQfUAkAPW k/U85BZf9J2HcDjbDQH2IGPHVJElc4zG+v4mqr3Sv/ihMqaKInI7201CGiuSWp62/WDv LarA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L9aA3onk; 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 d193si2887096pgc.596.2021.04.30.00.45.41; Fri, 30 Apr 2021 00:46:17 -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=L9aA3onk; 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 S231293AbhD3Hpa (ORCPT + 99 others); Fri, 30 Apr 2021 03:45:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbhD3HpK (ORCPT ); Fri, 30 Apr 2021 03:45:10 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB04DC06138B for ; Fri, 30 Apr 2021 00:44:22 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id i24so21925334edy.8 for ; Fri, 30 Apr 2021 00:44:22 -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=EkTXw+UrM2wYCxNZsOy4gcxyM1XqC056VTNVEgdSP/k=; b=L9aA3onk70KoVbG2n75lGBuKAbNhxRELftVnnCcSvhnPfPHkLpexNQwNacrYxuXGVu 0Mxe0CzFIFDpKJ5dTUgNtzhu4Wl455874LfM9oh3u+RU+Ok/ETyUdpTVKmQOJvMZ9cyH 3JyiSKYBVRiK3JmfyHpfTw9jtjwCL3e1JlPjyNqcSI6sG5++AXpgk2IzVBVmxx5jAidb fJSmtozcGEATD2BDLTk2v+RpwHE5bzoBsBQIjSkEVA/msS1rIId49EhQ8w4iJMUiMS0N 5csNI8Akw5tYNV0wKGIzdx0lVt9AP7O79DEBmUaHQFPm8MNa50p9nAu+9HGa1sBVYNgw 5ErQ== 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=EkTXw+UrM2wYCxNZsOy4gcxyM1XqC056VTNVEgdSP/k=; b=L/7RmEPh//nrSSxwlZfj+NgZHJ7N5rl64A8LjGrkwaIQsgXduoPoZsmzsbtrwbxKSo o2z1dXjaisezbR6RqMcYPu/uCQF1f7XfX2Y6CdNgrQ6qfJ/ZiBGbSHZWRCLoi1fDycfm vVFuBxxEY8u1qUXbBlYWDS7Pnuj628P3/LsnJhHV2z5Ac9XDtyEXnIn/+vDupjoJVY5X JnwlyG7DR+o0MaYRtX6VtEHnZETEHSfhKDexiFpxeNH7lPmrz+EAMlD/pSMJyeOx0E4a t9g/yn3qzZ7AC1S/qmTs8ezwZguvTqS4CypmRAbcHbl1mY/USEeWv3nbIusS4VjiR17u zdtw== X-Gm-Message-State: AOAM533gwr2TWB/BQTiMDy0rpb2kk0i57//EzsX3iViTEvHPtr4ZR4aY y8OZabtvVYKphu1OprD30aRMcpnVUq6+jA== X-Received: by 2002:a05:6402:617:: with SMTP id n23mr4205035edv.45.1619768661243; Fri, 30 Apr 2021 00:44:21 -0700 (PDT) Received: from agape ([5.171.81.86]) by smtp.gmail.com with ESMTPSA id m2sm654691edc.10.2021.04.30.00.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 00:44:20 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 10/43] staging: rtl8723bs: remove unused ODM_RT_ASSERT macro Date: Fri, 30 Apr 2021 09:43:28 +0200 Message-Id: <59052a164bba7c68c471a9c7761633dc99c1ebfe.1619768150.git.fabioaiuto83@gmail.com> 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_ASSERT macro declarations. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/odm_debug.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.h b/drivers/staging/rtl8723bs/hal/odm_debug.h index 09e8bfec7664..b4fc247242fe 100644 --- a/drivers/staging/rtl8723bs/hal/odm_debug.h +++ b/drivers/staging/rtl8723bs/hal/odm_debug.h @@ -96,20 +96,6 @@ #endif #if DBG -#define ODM_RT_ASSERT(pDM_Odm, expr, fmt)\ - do {\ - if (!expr) {\ - DbgPrint("Assertion failed! %s at ......\n", #expr);\ - DbgPrint(\ - " ......%s,%s, line =%d\n",\ - __FILE__,\ - __func__,\ - __LINE__\ - );\ - RT_PRINTK fmt;\ - ASSERT(false);\ - } \ - } while (0) #define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); } #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)\ @@ -129,7 +115,6 @@ } \ } while (0) #else -#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) #define ODM_dbg_trace(str) no_printk("%s", str) -- 2.20.1