Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1889397pxb; Sat, 16 Oct 2021 23:45:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd4Xrvi6w7pFMRzo067mTmWVGsbGzkqYsa0kZMX0MEHYabSZxTPLZ4i8mXI12mhM5nUGd/ X-Received: by 2002:a17:90a:de0f:: with SMTP id m15mr25442172pjv.114.1634453102837; Sat, 16 Oct 2021 23:45:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634453102; cv=none; d=google.com; s=arc-20160816; b=CLOkbbs/4XBflvJXQWTUdwO92N3mNO1hS3A2MtkBk5vDPon4bBBu34E/NbzXeJjq2p AYIzTI9vefEdgc9zvrnEiuXCJhm9oKaSVrkRFgzyjGm5+64Ulfj0IDtKbffkDvO86Grw UyK3FD5idHPhKLq11hWGFXbOkUEoKXY+RfXf4QpVqwLxi+QPgIH1xAzjPZdl4uW28uEI xXMa1T2hF4xNWI1FyWzIGbTXhMnrKTjRJvRRGMB+Ujx7cQxkibjfiBHkPlHHfTKvNt4S iVDLijvaggcfGEaMiItYUAwbJj7sNBlHSoMdaHSQ+6Tf011tyHe/S/lqVn1qkQsIg7Vt Lm2w== 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=6CjF1ZSILAnzFxi0WDYQMSXFctas9qZfIH3klDlPYvc=; b=jj0xReRsZ5WxDFJaiMosa/CfoLXnGzcYxDo76kqPFOJW2q5LszfTFcgSHaTRlejZGi CPQSFeSK6nj1mD3mZFdUh/Vk4P9wLY8QNI0tZMZ822DJrMTo4ZoGd/gu/N2kG8fegScm GL1maMcoxWa6RhkK8lPMfWCjoYAlJLlfeh7nGqgB8gCEHccQa3jiGFLxBcYeX5TnJMe7 +5PeM8RM3xQTwkCJaKxE3wbeGs2xxHPW8xBB/zSNPy8VUsWddWOi3nwpCARYNEg5BM4/ ogAnACZZUQ+oyVaXDP2euzYFgTlU+a7VVMQ0RJi6nw6dcKTd7kHSMlSlNsywSysMjkoA hzAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L7kVFtC3; 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 h22si10673603pgk.421.2021.10.16.23.44.11; Sat, 16 Oct 2021 23:45:02 -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=20210112 header.b=L7kVFtC3; 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 S241452AbhJOQhf (ORCPT + 99 others); Fri, 15 Oct 2021 12:37:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241331AbhJOQh1 (ORCPT ); Fri, 15 Oct 2021 12:37:27 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA2AC061762 for ; Fri, 15 Oct 2021 09:35:20 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id p21so2988143wmq.1 for ; Fri, 15 Oct 2021 09:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6CjF1ZSILAnzFxi0WDYQMSXFctas9qZfIH3klDlPYvc=; b=L7kVFtC3UAEzfogMa81OHDo57dAHJjXlT3qiR8za3FL8SQ5OHeAfizuPLtkseGF2GS kYSYn1vkKUQJi4cNr2qa8Hw9TFNZqPGcH87sW10eSHg9PvAqMg5srOC5Wao5iHf/109a B+JvXkJWjr4CeZV/T8Gx3fWBEjC7nJPyiU/C/JGCXVpIPJspRWp/gkJbjVCHrXdkPrIv FN2/DUyApaOihwfOeq5aj2a72uftkuse0HdzhBv7GTJtZsL9EKmByaugedUJi4tjuRMw sr8eB+uxHVl0BVwDVWhFm8nMD4uNx4GMnyfYCQuu+cv8O3RlNu9C5z2u6Y3HsRsC9Cdd XwXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6CjF1ZSILAnzFxi0WDYQMSXFctas9qZfIH3klDlPYvc=; b=alMw9oKBheMGOhz2+VtKNg1m0/fRrpGWam7YFIADXxe2Kqv72wnwcR0HrzpPqAckOI GDQJbgbGsYLCygwUHYoX9wYEKIC1bU/cGzg6ONb+Xf45gHETC0zf4N0uSBAV992cX2iL e1iuRsUmvuHDeO/1BsCHUBsRCf5oFPE43gI0pJcAcMBsw5YaNxI9lk2wKSAMdbvDI2L/ Wi3yw9y2+PJ2wUydpHyt6H1nWqEZq7zvPtbca+UEBeoBGw74ZpJumaCzyYPWtM6tHV/f aI6fBekQJmpKONNvlhj6iOxFwfeI/Perh8k2PQfKF+Er1morl7v5GXr5cJFB3xMCbb3M HCFA== X-Gm-Message-State: AOAM530mzxzS29WX6KW67Af6oKEnClqpglUQH8Le/TbL81jjNBgUJrIV 8OXSmxa2l0zccQuMinVCcMc= X-Received: by 2002:a05:600c:511c:: with SMTP id o28mr26891090wms.81.1634315719441; Fri, 15 Oct 2021 09:35:19 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:3b88::ad78]) by smtp.gmail.com with ESMTPSA id c17sm5489593wrq.4.2021.10.15.09.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 09:35:19 -0700 (PDT) From: Michael Straube To: gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube Subject: [PATCH 6/7] staging: r8188eu: pMacPhyMode is not used Date: Fri, 15 Oct 2021 18:35:06 +0200 Message-Id: <20211015163507.9091-7-straube.linux@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211015163507.9091-1-straube.linux@gmail.com> References: <20211015163507.9091-1-straube.linux@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pMacPhyMode is not used. Remove it from odm_dm_struct and remove related dead code. Signed-off-by: Michael Straube --- drivers/staging/r8188eu/hal/odm.c | 3 --- drivers/staging/r8188eu/include/odm.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/drivers/staging/r8188eu/hal/odm.c b/drivers/staging/r8188eu/hal/odm.c index 85bc5050cda5..a2cbe727f6e0 100644 --- a/drivers/staging/r8188eu/hal/odm.c +++ b/drivers/staging/r8188eu/hal/odm.c @@ -231,9 +231,6 @@ void ODM_CmnInfoHook(struct odm_dm_struct *pDM_Odm, enum odm_common_info_def Cmn /* */ switch (CmnInfo) { /* Dynamic call by reference pointer. */ - case ODM_CMNINFO_MAC_PHY_MODE: - pDM_Odm->pMacPhyMode = (u8 *)pValue; - break; case ODM_CMNINFO_TX_UNI: pDM_Odm->pNumTxBytesUnicast = (u64 *)pValue; break; diff --git a/drivers/staging/r8188eu/include/odm.h b/drivers/staging/r8188eu/include/odm.h index 9745069060d7..6cbf64df9be7 100644 --- a/drivers/staging/r8188eu/include/odm.h +++ b/drivers/staging/r8188eu/include/odm.h @@ -269,7 +269,6 @@ enum odm_common_info_def { /* Dynamic value: */ /* POINTER REFERENCE----------- */ - ODM_CMNINFO_MAC_PHY_MODE, /* ODM_MAC_PHY_MODE_E */ ODM_CMNINFO_TX_UNI, ODM_CMNINFO_RX_UNI, ODM_CMNINFO_WM_MODE, /* ODM_WIRELESS_MODE_E */ @@ -621,8 +620,6 @@ struct odm_dm_struct { bool bool_temp; struct adapter *adapter_temp; - /* MAC PHY Mode SMSP/DMSP/DMDP = 0/1/2 */ - u8 *pMacPhyMode; /* TX Unicast byte count */ u64 *pNumTxBytesUnicast; /* RX Unicast byte count */ -- 2.33.0