Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp398187pxy; Fri, 30 Apr 2021 07:46:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzj7eRobhk0qMWyQV3Iuvb4AXrMClFuadL91jaIeu7+aFa/AVvpBKZ7COmRwa4R3jmtMyHT X-Received: by 2002:a05:6a00:1a54:b029:278:e0f7:919d with SMTP id h20-20020a056a001a54b0290278e0f7919dmr5622223pfv.52.1619793965729; Fri, 30 Apr 2021 07:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619793965; cv=none; d=google.com; s=arc-20160816; b=YoGQD10Mtxyaw3MbEoyL58jpwIe9B2+6ho4aEXUUR9UzDc3SayjmQ9rmQqKkme30sK jZ3DLTbmN5tYz+a0EPtfcMtgLcLDqCKJhQsYHXA/2RFBVJMPlf35WLy6O/vk8kefSwoY tvB7NjOuDUw/SNgYkU8ahpi+gXT9VeCTshplIjTk1ByxW6z1GXB0Mka6U9WZR1bWt79T 9CMXf3bAQf3bjMXvEsUU0lN1+bTgdbaJCnXfb2ztS8eX/lOHVNUQljeb9E1Sr+tetcFw PyFnb3gJuzIVqyGcu9QKstvMUZ/S1ffaLPUb0q0tkHoEmrL/iKo0+SBTa+ezSDNQoDeL qniA== 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=waojPv34kDAia09uVUhMLw7rZOA6MjLTmFFF0SGHUbmJeCLo7jsNHT9Fs3apnD4RAK hUxJv7UJTBD/PMs1Q91fqe0qassmyTEVf/3olT0TVvj8MqkPHc7kuzzdkdG1nBQsMoz6 yUzhT1cHDD3747s4eUrH2YlhK8AsdyMDY1MfxElsvAwLJZRjUJ+F+i1fQzlm7qSYuJ/6 /kmvr3qIsXfknXIJy4hGkSmAYNtyWQHpieSRrqQKd7D6Nay6rynrgwQQu6q6mJ+HQOc7 Xgs22rOwfR09eAg6n9crpWHYYICWWM8cx4QhmCGJbVtDvmq/Gtth6y4jSCpE0sv5HOuM 7Beg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lvkXXjVY; 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 d33si3760618pgl.210.2021.04.30.07.45.53; Fri, 30 Apr 2021 07:46:05 -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=lvkXXjVY; 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 S233554AbhD3Opd (ORCPT + 99 others); Fri, 30 Apr 2021 10:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233237AbhD3OpV (ORCPT ); Fri, 30 Apr 2021 10:45:21 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CB87C061346 for ; Fri, 30 Apr 2021 07:44:31 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id w3so105674547ejc.4 for ; Fri, 30 Apr 2021 07:44:31 -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=lvkXXjVYtfZ+PtvyuU/0QoT4J4q556JpH9BCSFSKiljg7KR2559/elzxcOXGVwaSMx GlD9E/h1KkKVnGMRlJtTESqzJXlaRkymoLlxJ3LBk3FS54Y9sq8ZHWGGqc3cu7Zn6Vyx RZYoP0zdEVdpwg3OGHuCPwzLb5XHsH5U0kf/5LVX7T7IvJtZOXWhIiSufHXbi3XfGRcY 1b/q6NDCsBUTAG1NsyTQm4FmlufFUPTNK0dsBfAqK5KTwc4m/gVtS5Z4f9ZZYMbFCAdX jEFKX8X+LohI3Q31wf0eO6zRRgsI0uJOSPSWIhqM07bYtmJoUdWGgbeyGAjKvd0SyPOj CkaQ== 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=OqeAypFwjJNUDp+J5aIlbTlMM/S5v4z2PwSXc6HnuoqoeN0iI5n9KMPMHrBtx6KYvp oHqWRZHAMIb64ixh3fOyPv4err/gikN8z08npzdPuCNF9+el8aOE2MIiYfcdhVR1BF08 k/OvG6F98HwQgNXxDkpzR+LsJXF9/e6XhINjoRgPIgH80ad8DMU6LH8SonGqC68ikrMH qKxl5Z2nZps/hcPo/SSMCMR9gCTxK4pwFvc0tpizt8FWh8Jyu9NMfaMuxpl8YLI6ZrdC 4FYFm31A2HnGdSWecTSWvIVXm7IXF1dQ6KODM/Pas+NusfnNhTYClWHJYd4KQT4D6T0N Zifg== X-Gm-Message-State: AOAM533bNYTYcia4unTOQGGj8SmpZTAr31gC1su8K779OLd8JtHPScDt 8o6Od2Qxv4Wd8A8S7K2Z/+AuU9VZUGA= X-Received: by 2002:a17:906:3ec1:: with SMTP id d1mr4818766ejj.523.1619793869911; Fri, 30 Apr 2021 07:44:29 -0700 (PDT) Received: from agape ([109.52.244.36]) by smtp.gmail.com with ESMTPSA id o13sm2084409ejx.86.2021.04.30.07.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 07:44:29 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/43] staging: rtl8723bs: remove unused ODM_RT_ASSERT macro Date: Fri, 30 Apr 2021 16:43:40 +0200 Message-Id: <5e31ee70c4be243ccf92d92ad123d4f348acd5cc.1619793405.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