Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp92951pxy; Fri, 30 Apr 2021 00:49:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3u/8N1HkDWA2aq8kckEzpNEr2YSwt+JY9ISNRGwpg8tSlik9z9no64vYkWuUZriOT0Ot3 X-Received: by 2002:a17:902:c943:b029:ee:a6c1:7452 with SMTP id i3-20020a170902c943b02900eea6c17452mr359451pla.45.1619768941001; Fri, 30 Apr 2021 00:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619768940; cv=none; d=google.com; s=arc-20160816; b=EP2shg98VXUsVPfcr50+QQJestq1pQjwvFFes/uF9y8yxGiE0l1Iw70O0I3ZTYNI8Z XOaR8cYc5C1faIol7rpxVTC0AKdgb9R0tWqBNsNO8a7RdAhQ5SvzlYTxCn13rYB69+V+ JNSRpcPzRrQTCzcUwPPzTEc+/Th94RN9xaubZdyy1X2Ykzz/a0y+5t4T2lUBqBX3ICu+ 9rip5sArC0yHv/8JQp97ZW21i4m36WAcSjIn6Bqh5EHgH03+6EuaTmLg7zJjDOQliAKj h76+eoISvmWB92SeaqXY7WgRPUV4N+T7BPHBjsnfhuHbVyWiK96NNTW2Mg8mLL18ZPW0 +Hyg== 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=O0vgVpcNkS4mAjfiGNcrsQkfchPH8sG7BBuJp5aFS/s=; b=Hn/8TGinNvXG32GgqISnz523+132d4F0p1PRs4T9G/U7DqGRQJmddGrt0BClnlN4Id Uiwmq0qPGL3s7uKhAjLzZdQ712xhp0TJhZz5UnWzU/3WgE21d/cEJnG5LDiS/rQgxe/Z s5gLzbnCwa0px8c1g9rDjQc8fjaDC0xWNoPttOR+qaTVxinXyO0ZT3OrdL2InZ+BZF5g IVHulJWi0sxWHJbNC7XRhcxDJO7Fy4fXDVBJ3XlfDewJOnc1GslL/5xmhELR/7F0agqJ PKEreMXyHbLJJvp6Xe/PtmzgjaStAEnOQuNHt0PiLU7qkBHIqCc6ewZ0rrr2xdH5qSdI ZRDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BC6vKBS+; 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 w10si2563735pgs.110.2021.04.30.00.48.48; Fri, 30 Apr 2021 00:49:00 -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=BC6vKBS+; 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 S231563AbhD3Hr6 (ORCPT + 99 others); Fri, 30 Apr 2021 03:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231698AbhD3HqH (ORCPT ); Fri, 30 Apr 2021 03:46:07 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BBF1C06174A for ; Fri, 30 Apr 2021 00:45:17 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id n25so9413079edr.5 for ; Fri, 30 Apr 2021 00:45:17 -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=O0vgVpcNkS4mAjfiGNcrsQkfchPH8sG7BBuJp5aFS/s=; b=BC6vKBS+h6XM3Y5viRelBP+RHX23Q57MTTWaYERsDlSpnfF6w7iB924a8n0ew+Q2tH nGqk6R6eU4PcyxnhJ5FHVpKZA+MKYIUHo2g1BSRciP0vH+neJyd0xqdqLRq+hhn2O0TB TjX9DgeOI2JZDvW6zR1/njRj4nWMGw9aJ/uNijOqZqIWu6yzFIuzIUgjxCUhbBEbsp2E c0leGZj8V0TwC1Zn0W9PJanQNBiaNMvbdHILzW3tt7mkIXvxxwA2PAJ2M7G0vtrg6Lkd byc193NX2EFxgUey8WarYbTHS+sO2B9udHjAZOdOrXEkK1LbifFQoFfPzhVbKjCESjnY LS9A== 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=O0vgVpcNkS4mAjfiGNcrsQkfchPH8sG7BBuJp5aFS/s=; b=DopHA9CW+NKLsazA4pcsohC3XLNm2TI77UB8WkNTtp6c04EZKbFiUsFFFUBgXrlQ2L OUDnlrxO0uiORsxj7FKgty/6eZg1AOT4Fcxenbf0EXthmJeLED4Hq2CkG/vxHTXQkZXr K35acDHREnUuXpSph0agjamGZT7T+a5s+7rqlne7oqdvteewhHJnWmQNjled2l4bgITO HD6siMab5HUQH3Agp030FkRdB1TpRi+STsdHfT0KJ+ELhdnLw0MooHh+V+P968zhDEs6 vjhA67WoDtjND0GTSsFS4PKMAckWtLQfzCVnJ0m6gOM6Ghh6f6Prw/VYUCPWOKRUGJhe SJ/w== X-Gm-Message-State: AOAM531b7RRW+eddEaoa7cSYtPXs9AYtTQUHBc39ZDlnWwut1QsZvJ8x aiM65KROxgogkcrIdlpp/092NnxFibS4rw== X-Received: by 2002:a05:6402:35c8:: with SMTP id z8mr4336751edc.210.1619768716025; Fri, 30 Apr 2021 00:45:16 -0700 (PDT) Received: from agape ([5.171.81.86]) by smtp.gmail.com with ESMTPSA id n17sm651810eds.72.2021.04.30.00.45.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 00:45:15 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 42/43] staging: rtl8723bs: remove DebugLevel member in dm_odm_t struct Date: Fri, 30 Apr 2021 09:44:00 +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 DebugLevel in dm_odm_t struct, remove private debug level tracing. remove unused variable as well to suppress compiler warning. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/hal_com.c | 4 ---- drivers/staging/rtl8723bs/hal/odm.c | 3 --- drivers/staging/rtl8723bs/hal/odm.h | 2 -- 3 files changed, 9 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c index 8d1a18b5f914..5eb3bd45a959 100644 --- a/drivers/staging/rtl8723bs/hal/hal_com.c +++ b/drivers/staging/rtl8723bs/hal/hal_com.c @@ -1159,7 +1159,6 @@ u8 GetHalDefVar( ) { struct hal_com_data *hal_data = GET_HAL_DATA(adapter); - struct dm_odm_t *odm = &(hal_data->odmpriv); u8 bResult = _SUCCESS; switch (variable) { @@ -1176,9 +1175,6 @@ u8 GetHalDefVar( *((int *)value) = psta->rssi_stat.UndecoratedSmoothedPWDB; } break; - case HW_DEF_ODM_DBG_LEVEL: - *((u32 *)value) = odm->DebugLevel; - break; case HAL_DEF_DBG_DM_FUNC: *((u32 *)value) = hal_data->odmpriv.SupportAbility; break; diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c index b867629a577b..fa275138c983 100644 --- a/drivers/staging/rtl8723bs/hal/odm.c +++ b/drivers/staging/rtl8723bs/hal/odm.c @@ -1172,9 +1172,6 @@ void ODM_CmnInfoUpdate(struct dm_odm_t *pDM_Odm, u32 CmnInfo, u64 Value) pDM_Odm->RSSI_Min = (u8)Value; break; - case ODM_CMNINFO_DBG_LEVEL: - pDM_Odm->DebugLevel = (u32)Value; - break; case ODM_CMNINFO_RA_THRESHOLD_HIGH: pDM_Odm->RateAdaptive.HighRSSIThresh = (u8)Value; break; diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 6b9865f5f283..950e7850bac2 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -709,8 +709,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */ enum phy_reg_pg_type PhyRegPgValueType; u8 PhyRegPgVersion; - u32 DebugLevel; - u32 NumQryPhyStatusAll; /* CCK + OFDM */ u32 LastNumQryPhyStatusAll; u32 RxPWDBAve; -- 2.20.1