Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1433469pxy; Fri, 23 Apr 2021 08:00:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwI3vGPGnJMRIawM1t2ERMEUrWSgbFzowr5nZH7qt3XDKOXslY//NmBfrUf2KSh7pBLuNt8 X-Received: by 2002:a05:6402:51d0:: with SMTP id r16mr5025992edd.52.1619190019287; Fri, 23 Apr 2021 08:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619190019; cv=none; d=google.com; s=arc-20160816; b=qZnpZgJ6qTStzK6ghrQoY7aI1bobhqsN+yRTE8TzjIAxuKlD9jh0PSCrHIQeM83V7t v1EPvmMXYzlOGYevd0MaqaKfdXUpDwHHqm8Ws1SEVvXT2B8XDU1UEnoLaVIfA2rr9NIS bJmj6zeq10T1hmzFoY2B5GbaKVUi8O/fzTE9rnEEVwXgELrD0UKy/XzcayNqLPsyGkj+ WefWBY4NmC6q40V8q6NVSBgiv/xJBC2MIm+C9BPrR245ERQ5dIZc918TTqoHSZwt/rn9 1TCoi64WVHshOofONAYX4MUOGhaLk48hpuodEXydBMW+V6s4dwMVDX/48aKMXqo4WcOc tZkg== 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=zuLarW/DVl6DwK0Y58hVKAVu2th5zfZnIaCNSJUZPc0=; b=eDUkkQk4MsFpUtExjJRU5ngjKXrE1mj4u9/VeG9Vy+/mB5Xzp3iwUfUXsXrT8H2SYA iIYZVD08qSa684EUnCVsSjTu789TmnxG4LxSsmr0UOHY7yD7kNQXmyHwzG9zZtSE5pkJ foCLIZNDLxMFyYGJP2j1xTk3v/Tn7XbEQEXRo9XBXtejYYSS30mu4xT15nsp87uFiToQ SLQx1NzvyHEBQHIJsfO2xWHQyCEYp6l/5PFUoadZ2nEyR85kFkjakcq7/J6go86liC7D ycH7EesfCNxJdgs48l1uXTO6afi1kUcEmJUKHHD3DOKNQmQzYzUETjIcXlyukUSuKE0B fkpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WSIFdjcp; 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 b3si5309321ejc.453.2021.04.23.07.59.55; Fri, 23 Apr 2021 08:00:19 -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=WSIFdjcp; 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 S241013AbhDWO7Y (ORCPT + 99 others); Fri, 23 Apr 2021 10:59:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237271AbhDWO7X (ORCPT ); Fri, 23 Apr 2021 10:59:23 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B203C06174A for ; Fri, 23 Apr 2021 07:58:45 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id w4so44985438wrt.5 for ; Fri, 23 Apr 2021 07:58:45 -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=zuLarW/DVl6DwK0Y58hVKAVu2th5zfZnIaCNSJUZPc0=; b=WSIFdjcpcTC5uXwaIzV/hAdZmJCGigXNV0Qyo1mLXvgQDRx0cz1hQ5wUcCpgef6mvu EF0h1F+MLOfH2y9/+8Opo1O4BN78stJU6ATMyXR150Z/8O1tPKyuK5Hm9pvZPg86HR2N QC6iTeCNewWthvuVwW27FrurxLJ//M9jSpy0FPraGTR4TES0+KrtCz5Q31CUoWKL+3LA rluMM98T597E66O84L+CHwuG4o75zMTYidOHb0/tZH/eEFp1dTchBLNKJTdzsTEeLQI/ vHQaamyiClM8J4bmoeb6n4dMSbJd9pM4lZ2xsOFkeW/R5ikJLGzuq13CssD9futfhq7a EX+A== 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=zuLarW/DVl6DwK0Y58hVKAVu2th5zfZnIaCNSJUZPc0=; b=Urof7pNLMBgKN+IB8sEBNJM/otsXntQG67bbjKGDLik4RYJYk/LpLkdytSv2YhSWU2 WwS1OxV/GirIv5dlCloqfNbGMlu0pNZzf6Z1lI/TgwKYAEsZUrN5gDypFUSMU5OgL/1Z uhniEsFXmvluIg11nviuKydmP19mtGVwqifd51EMNHbLhPxWx9F+XUOkLYWZR4JUsitJ ku4W+rOKhBEsgQHFUlq6bm6hp6ZEAC1FEnCRiHfQBi/IIGHU8uoGo2khw7Urk8m1dTc0 X3uNA59gv69y/QS9dkj5lgMF05cj0OLsJRAYIPldCgfcLv8X+Z9E2MVtzx5KD4Tt3eaI G7Vw== X-Gm-Message-State: AOAM531uG8FDBVl7gI0H4bEgPMrslolmBWdCiPRXKorXTPs3R1StIzQd PHg/iVfo80Mrnl24yDWV5EENg/HQu9c= X-Received: by 2002:a05:6000:22d:: with SMTP id l13mr5350233wrz.26.1619189923865; Fri, 23 Apr 2021 07:58:43 -0700 (PDT) Received: from agape ([5.171.72.99]) by smtp.gmail.com with ESMTPSA id f6sm8014024wmf.28.2021.04.23.07.58.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Apr 2021 07:58:43 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 01/49] staging: rtl8723bs: remove unused log function Date: Fri, 23 Apr 2021 16:57:52 +0200 Message-Id: <397a4082fa2a49c67ac7d6869284334d3fa7bea6.1619189489.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 sd_f0_reg_dump() function. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_debug.c | 17 ----------------- drivers/staging/rtl8723bs/include/rtw_debug.h | 2 -- 2 files changed, 19 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/rtl8723bs/core/rtw_debug.c index 79fd968bb147..0ee0190c09d7 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -14,23 +14,6 @@ u32 GlobalDebugLevel = _drv_err_; #include -void sd_f0_reg_dump(void *sel, struct adapter *adapter) -{ - int i; - - for (i = 0x0; i <= 0xff; i++) { - if (i%16 == 0) - netdev_dbg(adapter->pnetdev, "0x%02x ", i); - - DBG_871X_SEL(sel, "%02x ", rtw_sd_f0_read8(adapter, i)); - - if (i%16 == 15) - DBG_871X_SEL(sel, "\n"); - else if (i%8 == 7) - DBG_871X_SEL(sel, "\t"); - } -} - void mac_reg_dump(void *sel, struct adapter *adapter) { int i, j = 1; diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index 23f4cb4711d4..ed75db1b16f8 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -169,8 +169,6 @@ #endif /* defined(_dbgdump) */ -void sd_f0_reg_dump(void *sel, struct adapter *adapter); - void mac_reg_dump(void *sel, struct adapter *adapter); void bb_reg_dump(void *sel, struct adapter *adapter); void rf_reg_dump(void *sel, struct adapter *adapter); -- 2.20.1