Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp897430rdb; Sun, 1 Oct 2023 10:00:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRG6ZYZR7Z7vjZ7TV8c6+g9IdTB18ZEKlEpLFycNAjjUfhnE9zU/XkDt+nNhnxCzIcTUCW X-Received: by 2002:a17:903:2305:b0:1b5:674d:2aa5 with SMTP id d5-20020a170903230500b001b5674d2aa5mr15423427plh.13.1696179602913; Sun, 01 Oct 2023 10:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696179602; cv=none; d=google.com; s=arc-20160816; b=IqwjnuULKZX334CrX5FhtH+QplUR0sPEgp7vyYMax8fyT62b5cwoigMyj1wjBC1Dww o/0juuPSYVDuQ4L166UXH2cApLtzvdbrrFDi71Ou1vsg0XfZnju//InYHnyHWk710WJI zV3UoRzMZC+xq9pHQXX2zpnlVX1gJpBuLd5MT7dVSHNNUWqIn7mTivfCoFHyRXD2ro58 YkI9pe68xPNQ/ZWDaKsa4koyApUxTJosmhmuX4lb9qpJ7zOh+Ajl8skuwX3QOZvEanyZ pRYUCHBWF6b1fc6Hwgb/pUuzJMngOnaXPoqRgtKSBS8e/fNFqhKgQB1wdpl7qg/JkJOh iyTA== 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=tpJqPIVcZcjgtPzZR6Y1+bljvbB1Yn2y5DRCpOzZBaw=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=fDv0yEHvJTIZsdJRAbZsIFysCURY+v6hTj+/f+GVh9lAtermtmEfASndD5MrDKMuCR G7vNqaaw1G1xgjVC6Q5R9DBA1goLsJzXkpjwOJdyzjQ5x2yzrdUMC+P3xzVGzJOacZj4 jsCJ+S37vMRmXefDfbpyuX/WtSOLyhwxMA0Hs374excS7YytEa5qfZBe6IXJRnmnJhNf haYM88aFaVuE+0jSfuYHVWbNPkYE8gyeJ939dltRxqCye5EBrodiHS7I9w1JYmGdOPiJ K9FwrOx1SMQoKibHAe4dX61f0rRlBRTOrdaR4C+fGOAB25TodaRjEi9BQhKeFmdbsC66 JfNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iTQ5YB3s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id d17-20020a170903231100b001c62bbdde51si16198844plh.479.2023.10.01.10.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 10:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iTQ5YB3s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 2363380330D1; Sun, 1 Oct 2023 06:44:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235001AbjJANoG (ORCPT + 99 others); Sun, 1 Oct 2023 09:44:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231969AbjJANoG (ORCPT ); Sun, 1 Oct 2023 09:44:06 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 913A1B0 for ; Sun, 1 Oct 2023 06:44:02 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-523029050d0so3835532a12.0 for ; Sun, 01 Oct 2023 06:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696167841; x=1696772641; 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=tpJqPIVcZcjgtPzZR6Y1+bljvbB1Yn2y5DRCpOzZBaw=; b=iTQ5YB3sdeKxQhtEGCLDmo8/6kHs3kQi47YYSmGrWB2BO+6+ORqAVNMuAxNjhbFUcZ JOrqvLq86J8ht2t3rGOOpf9MPvQRcOW1n/PM6ZOTxQV64GjgRgzYxt5kQG45sgDw6qfT WI+eiJNZkaVvpsP+K6ZPX882IYKU+7oKLgtCqof1E1apWdrUerNeLVueNFNpkiLvF1mm Xo5hNgkViXEOUENsXVFqn2jJPDNqsNUlw8NE7BCplnSw24vkmDlAb7z4RgVJGPwuCo0e +OWo5O6gN55Qg0S2MvEUx0QDD6xvi7ctlJu98NihCrVAa9PiGxWu9+xzMXuDeqVNqzHc 1xYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696167841; x=1696772641; 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=tpJqPIVcZcjgtPzZR6Y1+bljvbB1Yn2y5DRCpOzZBaw=; b=M1ti0ezW26+wWrVKUiRTAPZsSyxURMoztPsFxLlWflmuwQTBl7FbOhN8K52nbq1mmN pUShanWI12H+1Eb4NVVoJYONvVh3QK7RgjqzDdJdYUQt+58ypR38dBSP3r3ICNmCY/FE Ym0Ha728B8zqfiry2LSANW1baKxwSoIJ6Pauo7oaVMtUyj4D23mWH26RKokVILCnhARj iQ7npxjCdrQoo55v6eg1AuGDbfoBD65YQ6vxMZyLZ8hBBlPOgJLLApCNE4BPCazldUPH vAxuq7xUazpgjCE7FWUHXaDEtN/5D2klKMlNM1hmINKHqBxgOFxITWBbETvr+ThBCR+q d4SA== X-Gm-Message-State: AOJu0YxArfsPqcxu7K8J3GhNp6t3VjsDGJbzg1JH5ezhIyElWScpr4Bl eit37biuYLSr1i6x/O50iJ8= X-Received: by 2002:a05:6402:2790:b0:52f:bedf:8ef1 with SMTP id b16-20020a056402279000b0052fbedf8ef1mr8458721ede.3.1696167841055; Sun, 01 Oct 2023 06:44:01 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id d15-20020aa7d68f000000b005333922efb0sm14083826edr.78.2023.10.01.06.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 06:44:00 -0700 (PDT) Date: Sun, 1 Oct 2023 15:43:59 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 01/11] staging: rtl8192e: Remove ibss_maxjoin_chal Message-ID: <7c5d512a69e5832263a0a2e8f4ea3608fe286a09.1696165351.git.philipp.g.hortmann@gmail.com> 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 01 Oct 2023 06:44:34 -0700 (PDT) Remove ibss_maxjoin_chal as it is just set and never evaluated. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/dot11d.c | 3 --- drivers/staging/rtl8192e/rtllib.h | 1 - 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8192e/dot11d.c b/drivers/staging/rtl8192e/dot11d.c index 82c11caeee7a..d0b7332645be 100644 --- a/drivers/staging/rtl8192e/dot11d.c +++ b/drivers/staging/rtl8192e/dot11d.c @@ -73,19 +73,16 @@ void dot11d_channel_map(u8 channel_plan, struct rtllib_device *ieee) for (i = 12; i <= 14; i++) GET_DOT11D_INFO(ieee)->channel_map[i] = 2; ieee->bss_start_channel = 10; - ieee->ibss_maxjoin_chal = 11; break; case COUNTRY_CODE_WORLD_WIDE_13: for (i = 12; i <= 13; i++) GET_DOT11D_INFO(ieee)->channel_map[i] = 2; ieee->bss_start_channel = 10; - ieee->ibss_maxjoin_chal = 11; break; default: ieee->bss_start_channel = 1; - ieee->ibss_maxjoin_chal = 14; break; } } diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index bdbd27e382b9..aa198983cb3c 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1339,7 +1339,6 @@ struct rtllib_device { u8 active_channel_map[MAX_CHANNEL_NUMBER+1]; u8 bss_start_channel; - u8 ibss_maxjoin_chal; int rate; /* current rate */ int basic_rate; -- 2.42.0