Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp479577pxb; Tue, 19 Oct 2021 06:53:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl8m52xTdAhOAq4+j96D4YixFD5nVeMH00FuCpGTeM7vhAUDF1fM1HsnOfu0zMzH2yFzAf X-Received: by 2002:a05:6a00:21c6:b0:44c:937:fbf3 with SMTP id t6-20020a056a0021c600b0044c0937fbf3mr51666pfj.2.1634651594705; Tue, 19 Oct 2021 06:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634651594; cv=none; d=google.com; s=arc-20160816; b=fcdYJITBwtPoDVR1lZWqnRz7OUJFTEi/cNwLutN/xSLlBKkWZFvO89OjIFOl+ZI6Fk w5me+K4u9rjMkj42RWkbfnxSWpuVXd+YhaSF676FCUUjVrqvZoUGmjFX27j//KGKAyP3 noZL3J+U3gteVwSYnqDT3qlif5RO2m3XUhGZrhxtx2XKUPQ06X1348PU85fjT7wqFhCD XYv8Y0Mr7aufp0qBqhylNxKcqweBXqXjrOKKCFKQZ8PplQEH91Wth1cM72pgx+yC6E6g OibfhzgA+QFFFcgujUkF+V9Va5md9+NMrHLauVbAM4CYcfOnBIQW6ZOoZbaa5IBW0nUT XKow== 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=Ok68sRc2xOIfCvTBrCJZswQdaMM1ovxmj3Sg5Olbf3c=; b=BZHBrW+Zd9v0tHJHzoklV5WD4KHsr7gpE0jnmf9SoB6MXiDYj9mVfel4x+mmmNArKd wLYA/vvnEr7pMI6qietutF2Rujd1X7LLGe12ZCzaCGjRsDFwjtSaYcYX7WnVbuRm+f0I kWVO8s6oRKI1e3hBQq+q9S8nkUDXDddRMAIQ8aZW1IfzYjaN+WDricZF9tV4bQmmVHLf rz5YLGLBVhbVttVrt63QRNSHb2IBQUpm2VIywGDwhjvhIBSZjLXWjHZrDEly21IRuw3h sEDARq9qogPTtAJ1mHGMIlsKyLh1glhvgAy+SD7v0ptv0PfZX5eHUOSH+yeDDjwlvXhi ivWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="e/vQ8OpN"; 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 y7si3352751pjr.149.2021.10.19.06.53.02; Tue, 19 Oct 2021 06:53:14 -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="e/vQ8OpN"; 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 S236001AbhJSNyC (ORCPT + 99 others); Tue, 19 Oct 2021 09:54:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235935AbhJSNx7 (ORCPT ); Tue, 19 Oct 2021 09:53:59 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20F30C06161C for ; Tue, 19 Oct 2021 06:51:46 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id m22so48086166wrb.0 for ; Tue, 19 Oct 2021 06:51:46 -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=Ok68sRc2xOIfCvTBrCJZswQdaMM1ovxmj3Sg5Olbf3c=; b=e/vQ8OpNsvfaGotJlFLTgx6var/MTxcCatXICfK6E5blUuPFGygomPgaUZ0NXyuepF Yhvo+L5BPULwjPDbaZwLpCffrDjiMUqY5+NtND8oKzWdFQ5hPteTUu1BeHiQda9pM8/m G5tDbVYFJJkn4r0e93Ltv389u4Yp/IX9PkBDeVCjZIaFMlvzK73gc/C+Ig9jrrnYWjf7 5bnQlKVjVO1BzJnEr1C5nzW2TSLBHCw/2+2eAo+3YrVpigsdbUv25lAlmBei04DvH0Gp VDcYBYSZvuOxIGKsNWxq3LUaVBqgXaJ4JQzbER+7F80dCpfzrzMzvIfG5UoINyDEDIo+ dEQg== 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=Ok68sRc2xOIfCvTBrCJZswQdaMM1ovxmj3Sg5Olbf3c=; b=C5MT8qgRp7lBLIk8soIVLAv5j3QSBzzqQCAFsxWUwo1FAFSADkhta5qO4LSAEXhoR+ AN8pa09irrhepwoN6xtqJiN332FeG9iPjbzLi4wWE6u5CO0mRPk4MNmronWI52Cb6vcj VZKsxqJVf9KAkv1s0VNuBS2DDkW28kC8wdTLBOT7bSRmw+hNI033I0Yv6JjeqfA/7wXN OaAx/MFoijpA2MOzHZbc+OesOkp7Dm+roywj/0mtHDjpxhhWkTpepxUP06iMGtO+5jMo GXAYQXogqHa4Ey+sRJNgcQZn5IybPefzW7o35Ze2QnY8sD+JsjvcsfslhSmVQbdHBD81 7Fuw== X-Gm-Message-State: AOAM5319C+zQu0GhMHrHGl5R1c6QznHQ6b9dqIWPo296x0TWSDVMzltc 6PRTUaExaf2Z/QxfcxbT2sk= X-Received: by 2002:adf:9784:: with SMTP id s4mr45905989wrb.277.1634651504774; Tue, 19 Oct 2021 06:51:44 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:3b88::3de4]) by smtp.gmail.com with ESMTPSA id i203sm2280699wma.48.2021.10.19.06.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 06:51:44 -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 3/7] staging: r8188eu: rename ODM_PhyStatusQuery_92CSeries() Date: Tue, 19 Oct 2021 15:51:33 +0200 Message-Id: <20211019135137.9893-4-straube.linux@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211019135137.9893-1-straube.linux@gmail.com> References: <20211019135137.9893-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 ODM_PhyStatusQuery() is just a wrapper around ODM_PhyStatusQuery_92CSeries(). Rename ODM_PhyStatusQuery_92CSeries to ODM_PhyStatusQuery() and remove the wrapper. Signed-off-by: Michael Straube --- drivers/staging/r8188eu/hal/odm_HWConfig.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/drivers/staging/r8188eu/hal/odm_HWConfig.c b/drivers/staging/r8188eu/hal/odm_HWConfig.c index 4772c2c0d50d..3125886e6731 100644 --- a/drivers/staging/r8188eu/hal/odm_HWConfig.c +++ b/drivers/staging/r8188eu/hal/odm_HWConfig.c @@ -362,11 +362,11 @@ static void odm_Process_RSSIForDM(struct odm_dm_struct *dm_odm, } /* Endianness before calling this API */ -static void ODM_PhyStatusQuery_92CSeries(struct odm_dm_struct *dm_odm, - struct phy_info *pPhyInfo, - u8 *pPhyStatus, - struct odm_per_pkt_info *pPktinfo, - struct adapter *adapt) +void ODM_PhyStatusQuery(struct odm_dm_struct *dm_odm, + struct phy_info *pPhyInfo, + u8 *pPhyStatus, + struct odm_per_pkt_info *pPktinfo, + struct adapter *adapt) { odm_RxPhyStatus92CSeries_Parsing(dm_odm, pPhyInfo, pPhyStatus, pPktinfo, adapt); @@ -374,14 +374,6 @@ static void ODM_PhyStatusQuery_92CSeries(struct odm_dm_struct *dm_odm, odm_Process_RSSIForDM(dm_odm, pPhyInfo, pPktinfo); } -void ODM_PhyStatusQuery(struct odm_dm_struct *dm_odm, - struct phy_info *pPhyInfo, - u8 *pPhyStatus, struct odm_per_pkt_info *pPktinfo, - struct adapter *adapt) -{ - ODM_PhyStatusQuery_92CSeries(dm_odm, pPhyInfo, pPhyStatus, pPktinfo, adapt); -} - enum HAL_STATUS ODM_ConfigRFWithHeaderFile(struct odm_dm_struct *dm_odm, enum rf_radio_path content, enum rf_radio_path rfpath) -- 2.33.1