Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5946435rwr; Mon, 24 Apr 2023 11:10:40 -0700 (PDT) X-Google-Smtp-Source: AKy350Zpd/kUq+n6C3c1R2swKddWhs4Anq1D2/iUQhb8lRI9H40m6sJ982b5dpCJoKFtUx3yHhJe X-Received: by 2002:a17:902:e5c5:b0:1a8:1f4:2d3b with SMTP id u5-20020a170902e5c500b001a801f42d3bmr18336215plf.48.1682359839585; Mon, 24 Apr 2023 11:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682359839; cv=none; d=google.com; s=arc-20160816; b=OxKEmQQDHfirh5Ni/YzGPKRRIWPeIf3aaWVZcbA6BPcT/XwQBusyNkIUXDP5NmvtIC Y0dicKZ9KW5aWdy6InVqLNBGBiVSkA6pqQpDgpw6g25Rl+PQZuxAxT23Hx0ZCxv/ntpZ /vcyKOP9e1HSI2zXR3RsWTbZIj+S9LD/HjSu52rr/EgQjjTb1aqcMOiPZwNbRvnh05Mj g/qj0U7V1xzY94HXSBBLwZGLPPsUuCFsPVr8k2Ek1V/Fk/n5Y+PQ958ue5/2mb8+LAn9 tzFYgTcfWYUErAqGZe98yaS/05B4p5MT39Xm5Hbx1LV7P3DIK3HsBiN731BgH+ODPg/Q Y9Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=tfmGIk+2aJtglmQ4U+xotZJmfTGbg/l0yn8LVq2SGfo=; b=MVyUfoSc6TWe0Wnx5OlczaZe30nS3RJnQ5EDhY967JQitiFQBES7iuiS/5bC4Mlg9b 8nFzLAXbe7zoX0FdPRIoZmek/K/aCZYePssKkolEa9VLggkNpmnfzz6BoZSBJBLYAW4U lvtKd0tctmf9I1MmjXSPWWpkbI1iLVbKXk7D9nivp+COrabXcSHvORRwP7XWwbX5766n bbkADrJcD+rdunRP+TNaHz2anVj2BVw+U0jjZ4r54SmwwWrxv1PwDricyGE7Fnmmbd2q Lu9KqdVs0l2h+YD5Qu+udrP4aPylk03l8+uZH3zd2N/nDx18i9yE6ZJIV3F4X0C7KUnF OD8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OarNsWC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a170902ebd200b001a6bb44db86si11451595plg.226.2023.04.24.11.10.27; Mon, 24 Apr 2023 11:10:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OarNsWC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232103AbjDXSFc (ORCPT + 99 others); Mon, 24 Apr 2023 14:05:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231169AbjDXSFb (ORCPT ); Mon, 24 Apr 2023 14:05:31 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C6FE7D8C for ; Mon, 24 Apr 2023 11:05:30 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-63b5fca48bcso4108825b3a.0 for ; Mon, 24 Apr 2023 11:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682359530; x=1684951530; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tfmGIk+2aJtglmQ4U+xotZJmfTGbg/l0yn8LVq2SGfo=; b=OarNsWC+fF4u+9Ooj0JuFEUiySfJdyWWMfDsKABx+8IhNqooMu67lLrn21b907pxSV HF75Bf7Sn4C9W9C1k3x7TXDy2bi9I8G7irqy81QbvEE4g3+COSbEZ9B1sWDFcgyY4/i7 dfwu2ZtKN/9iv63Q8MJJlyXURJ9BWZQQac4AhCBtyCOBH2msn1kgPqtMjASeQVMHZmqd 24yBO0+fzkcmstrvItioH7HPnbkajWjknDCCL/X/M188exE7W4VkOXotr9XqVPTJVq2y zvyRr3ag+sSVP9CrnTck5sWVuon1wX0N94pP9YEuPkk38AbfJEdqBjhcF/0bxcLaAFWJ wLWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682359530; x=1684951530; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tfmGIk+2aJtglmQ4U+xotZJmfTGbg/l0yn8LVq2SGfo=; b=RSYpXYbK/4gN6XAWgt/x43RAW9XtjP4XG6yS/rlVXkT399cACpUu3exZoMASOMPADt FplQiHrjJqxx+Pbl4rqWYcRMNrO16lzCsTtSZB3a7MrBn0B4XDEWY+GHseKA6X5t6XtA Lt8E72ypl0FX2M98ufBd+n3C0FkFnJb2J4Ye6F3NarzoLyNq2REAnVbifRmsMMllCaWm K8mcRLX4FkhIMNmj7Np+l9jh16TA+Mx2AiIxA9tsdOMeEdFrQ/IyBHBzI5Sz1H0LuF+2 2jj0RhHdUmmeU5RJvDKIwutS0+16h+RhYT3Xqw+vWXIK0FBrE+1Xa8z5NUkUwV1Gb5Zc s8Xg== X-Gm-Message-State: AAQBX9ejuxMMlTKtaWIjR2eHVZfJeNeZStogJNoT9OUiHZ9g3S37OWSf V7NrEqmVnCyHYkyhiBRbwRUE97Vta+E= X-Received: by 2002:a05:6a00:a93:b0:63f:1717:b7fa with SMTP id b19-20020a056a000a9300b0063f1717b7famr17891664pfl.24.1682359529639; Mon, 24 Apr 2023 11:05:29 -0700 (PDT) Received: from pop-os.localdomain ([103.251.210.208]) by smtp.gmail.com with ESMTPSA id h69-20020a628348000000b0063db25e140bsm7666697pfe.32.2023.04.24.11.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Apr 2023 11:05:29 -0700 (PDT) Date: Mon, 24 Apr 2023 23:35:25 +0530 From: Yogesh Hegde To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v5 4/4] staging: rtl8192e: Remove unused sens and max_sens from r8192_priv struct Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'sens' and 'max_sens' fields in the 'r8192_priv' structure are no longer used by the driver. This commit removes these fields. Suggested-by: Philipp Hortmann Signed-off-by: Yogesh Hegde --- Changes in v5: 1. Rebased onto latest staging-testing branch Changes in v4: 1. Split changes into patch series per feedback from gregkh@linuxfoundation.org Changes in v3: -- None Changes in v2: -- None Changes in v1: -- None --- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h index 08145e1f814c..ec9e454299a8 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h @@ -270,8 +270,6 @@ struct r8192_priv { short promisc; short chan; - short sens; - short max_sens; bool ps_force; u32 irq_mask[2]; -- 2.34.1