Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1053066rdb; Sat, 18 Nov 2023 00:53:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZ9wOWo7gHpLtJ4aopk38EFfiMVPNFcLi1u1iw61i2OvAOZsnORRk3yngxGK9vjIj6zKTm X-Received: by 2002:a05:6808:16a4:b0:3b5:ae0d:b208 with SMTP id bb36-20020a05680816a400b003b5ae0db208mr2449368oib.6.1700297605277; Sat, 18 Nov 2023 00:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700297605; cv=none; d=google.com; s=arc-20160816; b=kj6/VNj+PJyaxngU7s/Tgnolt/0Zs0PhILE6UlCnxaBK4EoPUOtZEa/lxyVWNqTaP3 n80MK4lUymZXqdxQzIo5fDHjilNbHmo7NzZ28KEpKWKyJRjMpC16tCQSFs3BkVUR7UB0 ip7TuXhj6JZz6jj/qH/XpemUKdX+vBdNSODtaIPoAzQucN7a0akXCrYw9bI0ooHnSHOF EssucAyjY21uTOmUs/2McDVs7H9Jff8Wb2X66jCVmLDgzPo1rczhYe/+dYzdkfE2N0Tn hZ+tBkpBzMa/ZHR+HrXSZfgeWUopV4XmUbz6dlXTcc2jD+d8EO/YKTbHKW4+4vdnlZWS TxdQ== 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=60TEIsDbZcJztid9/FBNOOfGZ+ibynkio00841tSlME=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=OfowqLZYXzKHZ9EOQsT6O/OeFKwf3WJl+2rtRSbGkpVqcbB4hMWO4VhAxRIuJsxDok GC+2Ux3/mzTzyDMDkDtf7iPI5BWhQuuznmccWB9ozR0bd3ZfRSQ84iJyh+ywYsmmGYye d9x30xAP/WqoNneZoSp4foRivEu1BwBoSFq+W8iJVjJFfPT00VK1hAi6JV1nnp5oDo2b x9ppWZkO7EROlq2XxftKaX7sF6fR1hmOdxs7v6Y7KbpE+ieL49A6RfF++XNlwF+nWztY wCr5vjSB2N59Scl8qCTBsTNmUAg/bgtetBaFozxttGJXM/o7+tt/9x0d3+EC5VfvKhdj SSdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bGkjW9qO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id g10-20020a056a000b8a00b006bcf4cb2849si3987558pfj.154.2023.11.18.00.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 00:53:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bGkjW9qO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 463608093F5A; Sat, 18 Nov 2023 00:53:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233001AbjKRIwM (ORCPT + 99 others); Sat, 18 Nov 2023 03:52:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233139AbjKRIvv (ORCPT ); Sat, 18 Nov 2023 03:51:51 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81D3E1986 for ; Sat, 18 Nov 2023 00:51:45 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-54488f19b6cso739664a12.1 for ; Sat, 18 Nov 2023 00:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700297504; x=1700902304; darn=vger.kernel.org; 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=60TEIsDbZcJztid9/FBNOOfGZ+ibynkio00841tSlME=; b=bGkjW9qOWgjdRgjCrxeFeKdA4GUEP1/gc+CrKSnqPpYTO6sm+cf/iIBGpJD5p6I6V9 BQZIUYDHXIyrjooCQ8N2XKAbA8+rmK80VKF+cJ7Nw54X3ymbUoFfI5uXFBu3LwAXkww7 /+JW6yONZw3FCQ9QHdsIcUzskS6ZJHOTAQFGgdiKkWB+2X9nPjSgS4F85z5IQIbkklYu cf89yn+SLyULxygTGCRF1n7FM9juFKUimKBJUO4+egW8K908mYZxUtR5ee2APCn9oHWc a/qnwd/WfLlwmLesaCTQCiPLG5+D2XOi2V2V5Y1C2E7y2V4p9XtXGqZ4tFyRcGXimZOM eP1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700297504; x=1700902304; 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=60TEIsDbZcJztid9/FBNOOfGZ+ibynkio00841tSlME=; b=llAavbHsq18v0Ieeh9SOkgR158691at8kc8L2Z82drkyl8ADXAcuXUjbf7AMYDRBNC 5IW/2U6uAHIBzIH6kueMO/C8RVHsrTNxTgkbBMTCByT2sNppp57QK7kbLh+4jb9NTYvg JQ+ic7v35LFJB2vvzA7BaVXBfQwgzyvEMCswOBQnjPCJLUURm59SRP48wOJeKOImw3YK huttKBQFBPSSXyxpv4RW0zoVQW7hNVdkgRygvTKEvR4HliQmyYIdBfjYZb9afwhFVCAs Ir5oR0Z4rGhYinCULBpPVguCLjMy+hthjaqxEUcHXo5pba9JkW59IgirueRD7/kWA9G/ uqAA== X-Gm-Message-State: AOJu0Yxb1R+tAijktyMiZwVEaYmpC6seA0EgU91eHHgJp49MyO0OJBZf auiEvyYqUtQPrrQ50aQqGWE= X-Received: by 2002:aa7:ca50:0:b0:548:5671:8330 with SMTP id j16-20020aa7ca50000000b0054856718330mr1236640edt.3.1700297503703; Sat, 18 Nov 2023 00:51:43 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p57ba2f20.dip0.t-ipconnect.de. [87.186.47.32]) by smtp.gmail.com with ESMTPSA id u10-20020aa7d88a000000b0052febc781bfsm1504123edq.36.2023.11.18.00.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 00:51:43 -0800 (PST) Date: Sat, 18 Nov 2023 09:51:42 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] staging: rtl8192e: Remove unused variable eeprom_chnl_plan 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=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 18 Nov 2023 00:53:16 -0800 (PST) Remove unused variable eeprom_chnl_plan. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 -- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index 9b51deba149b..8fe4c03b19c1 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -261,7 +261,6 @@ static void _rtl92e_read_eeprom_info(struct net_device *dev) priv->eeprom_customer_id = usValue & 0xff; usValue = rtl92e_eeprom_read(dev, EEPROM_ICVersion_ChannelPlan >> 1); - priv->eeprom_chnl_plan = usValue & 0xff; IC_Version = (usValue & 0xff00) >> 8; ICVer8192 = IC_Version & 0xf; @@ -283,7 +282,6 @@ static void _rtl92e_read_eeprom_info(struct net_device *dev) priv->eeprom_vid = 0; priv->eeprom_did = 0; priv->eeprom_customer_id = 0; - priv->eeprom_chnl_plan = 0; } if (!priv->autoload_fail_flag) { diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h index addaa1eb39ee..e7b331c4661c 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h @@ -284,7 +284,6 @@ struct r8192_priv { u16 eeprom_vid; u16 eeprom_did; u8 eeprom_customer_id; - u16 eeprom_chnl_plan; u8 eeprom_tx_pwr_level_cck[14]; u8 eeprom_tx_pwr_level_ofdm24g[14]; -- 2.42.0