Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2613875pxb; Sun, 17 Oct 2021 20:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGdTB88rgtAYn5YxHDWj88zxFkXLmP/VFZzbr8bBQtIxvQ1XeJwVf2Hc2o3av+Db4Pwott X-Received: by 2002:a17:902:d70b:b0:13d:f465:9ef1 with SMTP id w11-20020a170902d70b00b0013df4659ef1mr24684503ply.44.1634527942610; Sun, 17 Oct 2021 20:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634527942; cv=none; d=google.com; s=arc-20160816; b=wn1PI9v9owtnAbUK4rk3VOtQFXqZirfaRFlVcpah4q5KhoAVu7SV7hTf2bJrxIGddc mZLNtyIiZ5esoMv+2UkAiBBkLx3hdcRIk0kbdkKHriaEKvqXEriW1Ow4zcJ+Fhqq5J+e JZIEvsYp7UNLqJFVkN6tzSbZIyYuYGP7Q4Y+4avNH8aTve5xScxURELUYk9XZaJNYqh4 uuAchgtzSSGDhaOuFXWztbsjTzxWkBH3oiHQ3JAb7CXuV2bbk8y6m63pMPjkyoDpRuKL JYyuehBRiY2JYCfYj4q5x/ijpuPZzCGcDELNCql4IhPUntL2UhtuLP6CkhjnzBNImGaF aUJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LKx4x+Cn7T48JGlBNHIcwEZnDUAVeMwQiKJ54iu3SS0=; b=S+k4CfZky2dpkruyaWUEvdhFV4dxEOcRIHEZP0VVOFbnowZ7+cuAy8STz8xOKhhaPh 71vrt1nhDFTu8poDYFNAV1B30yks2HJtOmWb8wEdJYFUT2D2QiSQRk2WUG82of8wCKzO Dt0Uh4f/GPAVZZ7Y3wt3uTktBGJghZ6FuwPCrAl+w0Mn2216gVrNmrGcSWtu0LvX1B21 MHwxzJjPB3ctlrT/ZQGkbnMKVYb2i1HlCyEKP7a++Nr9iJ8u3UwM/4f6k+KQvpUAWuDi qrBZcAvXksimAThvR2Y7qhhOUVgxAhudGd6Cte3UrhOkDMMGDZApVR1OqOCB7BYSkKbN kafw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si277058plf.311.2021.10.17.20.32.10; Sun, 17 Oct 2021 20:32:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236745AbhJPJsa (ORCPT + 98 others); Sat, 16 Oct 2021 05:48:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240175AbhJPJsL (ORCPT ); Sat, 16 Oct 2021 05:48:11 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53EACC061570 for ; Sat, 16 Oct 2021 02:46:03 -0700 (PDT) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1mbgGN-0003BM-0X; Sat, 16 Oct 2021 11:45:59 +0200 Date: Sat, 16 Oct 2021 11:45:58 +0200 From: Martin Kaiser To: Michael Straube Cc: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net, phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/7] staging: r8188eu: pMacPhyMode is not used Message-ID: <20211016094558.wxgjy4t7k6lslwqb@viti.kaiser.cx> References: <20211015163507.9091-1-straube.linux@gmail.com> <20211015163507.9091-7-straube.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211015163507.9091-7-straube.linux@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: Martin Kaiser Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thus wrote Michael Straube (straube.linux@gmail.com): > 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 Acked-by: Martin Kaiser