Message ID | e117e958ada5695975deecfcd442703fd11bba3f.1682358035.git.yogi.kernel@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2926885vqo; Mon, 24 Apr 2023 11:16:55 -0700 (PDT) X-Google-Smtp-Source: AKy350YO4wFlz4H3Xo5pApEZ85ncpNEhjecwX89fEjcAYYxKCLxAfFWGF26ddchFFUPlph5YFSoj X-Received: by 2002:a05:6a21:1014:b0:ec:86a7:4fa5 with SMTP id nk20-20020a056a21101400b000ec86a74fa5mr16795735pzb.30.1682360215197; Mon, 24 Apr 2023 11:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682360215; cv=none; d=google.com; s=arc-20160816; b=bHleNcOrQyXeoQ3vvFQZIyuOimG6Nrk0Ldik9aDsO3PD0zLPZoKqoMeBKmwRNr1QM3 8pjCyIulYg+FX5X83VGMVkPfd1HIo47d5DbmwP2r4mIDdUC6apbtyqCZ2/n/zpY0i1fG cbmJcLRdlxAcfBlgH/w1KHoScjgwvtD0xpESCdw/Yn6EOJmXxtaDzbtu8uDkTiP0AuLG Rrxn89Jpe+CUZDtaoeZ8hZNXnGjy0R/SdRPu4Lgc4RqWK8rmMfJ9EhuMcnrqcXv6UTR6 lM+KL5CBW4hflVTdxcvqmsv4hMId8JjCds1rh99DvBb276GSnOy2f5Y3b3v52/o1Dp1t PWZw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a127-20020a621a85000000b0063b78126397si11418258pfa.230.2023.04.24.11.16.22; Mon, 24 Apr 2023 11:16:55 -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 S232060AbjDXSFd (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Mon, 24 Apr 2023 14:05:33 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Mon, 24 Apr 2023 11:05:30 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-63b5fca48bcso4108825b3a.0 for <linux-kernel@vger.kernel.org>; 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 <yogi.kernel@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, 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: <e117e958ada5695975deecfcd442703fd11bba3f.1682358035.git.yogi.kernel@gmail.com> References: <cover.1682358035.git.yogi.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cover.1682358035.git.yogi.kernel@gmail.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764082545123180417?= X-GMAIL-MSGID: =?utf-8?q?1764082545123180417?= |
Series |
Remove unused rf_set_sens variable
|
|
Commit Message
Yogesh Hegde
April 24, 2023, 6:05 p.m. UTC
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 <philipp.g.hortmann@gmail.com>
Signed-off-by: Yogesh Hegde <yogi.kernel@gmail.com>
---
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];