From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5494BC4338F for ; Sat, 31 Jul 2021 00:40:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E8B160FE7 for ; Sat, 31 Jul 2021 00:40:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235586AbhGaAkY (ORCPT ); Fri, 30 Jul 2021 20:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235179AbhGaAj4 (ORCPT ); Fri, 30 Jul 2021 20:39:56 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42028C0613D3 for ; Fri, 30 Jul 2021 17:39:50 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id k4so2554245wrc.0 for ; Fri, 30 Jul 2021 17:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philpotter-co-uk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FFK35TeNRCpJMMYpkUlLwh47HmF6IKjwmwo/sLbCW6w=; b=jEJMSLHuW5Faxo7X8HNN3jpzrW0sZ61wBiXF3SjwYHuBWCbYmutzALlZJRqcMjjKGx 4zcCBQhpRuZXHlWvvllgitPjkYr35qapx3IIpvm07bWlB1QO4NmHTcuP5pGlsI/32eI6 cuKasqRXw9gZkRktQlOAS0ln6eOHxxlPGp8TsBwkUM2M7hd+LveMziPGUABqunlIve6T k4TjvGGAZDAiSLbqon6+00sRUn6WwbYTFwadLg+zgLe2+GtXEp3ATvln0BZDMDH6loWF a60BrTVCBkGTmYPBuQ5rP/ed3QbWtz6ttaOdeyu2XTG59JLSrXHDOpIFY+2Cgq21WqTb ngCw== 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=FFK35TeNRCpJMMYpkUlLwh47HmF6IKjwmwo/sLbCW6w=; b=ATr5UPwNiklGk3CxW95EJ42OI96H7hnSDsLOWbXGx/tNsYEm3Zqc+iU9pp+6Mnkvc8 qdtcNOjHkbZNPABxrh4I2oa3CAvMzt6x2xMNb78o+lAoHl8hqvNZ307/KVnOCBzAR26i iaEn5BsbHFan0/dPLMlCp4hhEtozmc1QwQRdLmULM76AyP7MKK4LAG8O5U4QDF4PtzPO 5Zgq+KI3klCJtvxWFJUiZ9RZpNczw+52yxKIbdDyg9RWdyEvTSI9KarJCDWVR7XIobyH X+T+0oIqC3eVtN480laAwO3MOh1BLIE6I6e6/c/w9vETKVq84CBZ5lIUbkPxCObCq2vX 6EeA== X-Gm-Message-State: AOAM533DMewQ8/nxYSUIXH8oaZ+k9p48yWWeadOI+rqE5WZcMtiw2m9B H3B5DggeAU/yyT8WtH7rYbiXi+Q1D4sCKJoojwo= X-Google-Smtp-Source: ABdhPJxUn6dQ0Uhg1nSDRqcGY/dgaFfFuwmbPk+bFqhyxkauiyEIHULQ2GeZ1GYeOv5CaNGZp5MwBA== X-Received: by 2002:a05:6000:1152:: with SMTP id d18mr5609062wrx.303.1627691988905; Fri, 30 Jul 2021 17:39:48 -0700 (PDT) Received: from localhost.localdomain (3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.1.f.d.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:df16::3]) by smtp.gmail.com with ESMTPSA id g138sm3829614wmg.32.2021.07.30.17.39.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 17:39:48 -0700 (PDT) From: Phillip Potter To: gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 13/14 resent] staging: r8188eu: remove DbgPrint and RT_PRINTK macro definitions Date: Sat, 31 Jul 2021 01:39:36 +0100 Message-Id: <20210731003937.68615-14-phil@philpotter.co.uk> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731003937.68615-1-phil@philpotter.co.uk> References: <20210731003937.68615-1-phil@philpotter.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove DbgPrint and RT_PRINTK macro definitions from include/odm_debug.h, as they are called from nowhere and are therefore superfluous. Also remove comment in core/rtw_xmit.c referring to DbgPrint so that future confusion is prevented. Signed-off-by: Phillip Potter --- drivers/staging/r8188eu/core/rtw_xmit.c | 1 - drivers/staging/r8188eu/include/odm_debug.h | 4 ---- 2 files changed, 5 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c index 7ecffadcb61f..c87ecf59b232 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -670,7 +670,6 @@ static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitfr rtw_secmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); } else { if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], null_key, 16)) { - /* DbgPrint("\nxmitframe_addmic:stainfo->dot11tkiptxmickey == 0\n"); */ /* rtw_msleep_os(10); */ return _FAIL; } diff --git a/drivers/staging/r8188eu/include/odm_debug.h b/drivers/staging/r8188eu/include/odm_debug.h index 38b07664b07c..c71d890ac552 100644 --- a/drivers/staging/r8188eu/include/odm_debug.h +++ b/drivers/staging/r8188eu/include/odm_debug.h @@ -64,10 +64,6 @@ #define ODM_COMP_INIT BIT31 /*------------------------Export Marco Definition---------------------------*/ -#define DbgPrint pr_info -#define RT_PRINTK(fmt, args...) \ - DbgPrint( "%s(): " fmt, __func__, ## args); - void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm); #endif /* __ODM_DBG_H__ */ -- 2.31.1