Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1873054rdb; Sun, 19 Nov 2023 14:17:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IES/PGYh2OsXb9GkIArHhK8P48ippaCg0p5h9HCx9fldcbcgNA1weLi2dyG0EpkjvxOODX9 X-Received: by 2002:a9d:6410:0:b0:6c4:a349:4b10 with SMTP id h16-20020a9d6410000000b006c4a3494b10mr6681261otl.28.1700432222057; Sun, 19 Nov 2023 14:17:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700432222; cv=none; d=google.com; s=arc-20160816; b=d43o/lpLy0aOqoLzvfCHYALs4x/Ntxfc7WBWfJMkukW7P01xCmJct1hR7Wgq1dabYH FpnwNxiMwHlgNDPGmwXTEKT5WDd+qriMVjiyUxRaNDgrOuzrxWD3QYFPnf32nrRE9lQD U+Z+3jT+/lj9y+qHSBjIH6oGm6d35dSVyf3gpn8HR+4Zm0fshlPjkQGlWxBRctu021gp zb0toqqeoBUxpeJlv5V+/hSU7f+j9IRcnDeTuGq2qd5MyKR2GG9xKz9tHwQtys7oeB0s cw7fy8RSVHUISZr+EndIwej3AdJ8D1stuOpvybPJ16PNlXxQ1UtsaWqJEw/r61d/GiCi 6HWw== 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=9HmufOMefniw7+AgeLkrs+Ikau0t9ZA3t0+CpI9Zt9o=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=KgPbHk7ammkjcZcwsnwQhuVoldfJOm5xJu/zoJvurnURZjnKN+C2KzNe5vio1yL6Pp ceoqvWVr89g8n7you31kErLSspB4wWVGa2ZlHSB4CZo5ef7enhWz0ccKVn0+kQJGsDWx BFhz3ww93SlpLdPZybqamrEKAE/cFVuIwhjEJhWA+S2f5kZqlMtFB9X7FBzeaBisnu2k DGVtyUCwXQGTJSThm0ZtWV2JpFKPz+rG/SwFxM+bQhdUsRoN+D33VT+Wo2pt7MFvM8fF zNQBp82ZVWJGiTugExPVI7XNI8eM3XfWonflNHN/iKW/5NO21Rg61g3BlQKay3UM1fju hDYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OSawzK9M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id x17-20020a63fe51000000b005b86142ee56si6621778pgj.277.2023.11.19.14.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 14:17:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OSawzK9M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 727848083E60; Sun, 19 Nov 2023 14:16:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231753AbjKSWQy (ORCPT + 99 others); Sun, 19 Nov 2023 17:16:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232016AbjKSWQa (ORCPT ); Sun, 19 Nov 2023 17:16:30 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7305D5E for ; Sun, 19 Nov 2023 14:16:08 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-53e2308198dso917575a12.1 for ; Sun, 19 Nov 2023 14:16:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700432167; x=1701036967; 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=9HmufOMefniw7+AgeLkrs+Ikau0t9ZA3t0+CpI9Zt9o=; b=OSawzK9MM0yHXLGHizrS/yiHP7qhrNnyEZU29pFkC0oP/kYvAwIUKb55VWef1VJ0yi fGcEqId6Hz0t88JnV4tMcRqFzINwZiXCOYDxzPkIAvdkbRF2lyk3Ft7ABuVB9CQuf2SD 0XA0sz4yDrC/yxitH+U0H5e0RxPpuVsbEnZN+gIuMOth2//pJkHo1esF5zYJ9vQM4e5u ufLMZLojR88+pCg2IGTabAiY6eqdXFt9WWqUQ8d//C/Ode1yuVnQfisI+uUYXBnN8sOY vEMgnCLOh4mLPzDdPjT6J2Oax2HTdGTw21uDbjN8rjDyYNxxcFE4qDNi6xOP1OxRPnkb YZZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700432167; x=1701036967; 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=9HmufOMefniw7+AgeLkrs+Ikau0t9ZA3t0+CpI9Zt9o=; b=oplgF9xxHN3r7ZzGAE8ZOxr0bDYzY5xOZhKCRxSP/kj+5EMJd/c+WpyHw1DQB6NcX+ avWOLmr8SJNqbkgW9GyB4QbO3RA8649qpZYq/nCr4+sdJ+AAdfOoYhgW5tlpO/pe3La7 Ij3ho3mph63tfltMx4Zknej5OrZIiqZ+a8iYl0rLNxKTviJQVbBLOcqyfXlt3jV0aFgc X/uzG6wM39qj8sR6dAGX6qOM+K82UB1MD+XOmmmosqv2LfYjqmHy5PwGPB9Xg+bbdjlD oOFGrI58uC3qpYrAr8A3alOsNYI4cwH3bWkMcIM38pSfsGMsZ7NUoLMXvNZXHE/nqwjs j97w== X-Gm-Message-State: AOJu0Yzikb+NUMMfULqC0IgSswJHfuN78LeYc54LGcrb9LP58Rw5i3xb Nb0dZB/5aUjQ+4yhW8irObw= X-Received: by 2002:a17:906:5191:b0:9e6:69d:46aa with SMTP id y17-20020a170906519100b009e6069d46aamr4332511ejk.6.1700432167102; Sun, 19 Nov 2023 14:16:07 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id f20-20020a17090631d400b0099ce188be7fsm3215485ejf.3.2023.11.19.14.16.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 14:16:06 -0800 (PST) Date: Sun, 19 Nov 2023 23:16:05 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 14/14] staging: rtl8192e: Remove unused variable bss_start_channel 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 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, 19 Nov 2023 14:16:59 -0800 (PST) Remove unused variable bss_start_channel. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/dot11d.c | 1 - drivers/staging/rtl8192e/rtllib.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8192e/dot11d.c b/drivers/staging/rtl8192e/dot11d.c index 9ec112e00e38..d51d4afff61e 100644 --- a/drivers/staging/rtl8192e/dot11d.c +++ b/drivers/staging/rtl8192e/dot11d.c @@ -25,6 +25,5 @@ void dot11d_channel_map(struct rtllib_device *ieee) for (i = 12; i <= 13; i++) GET_DOT11D_INFO(ieee)->channel_map[i] = 2; - ieee->bss_start_channel = 10; } EXPORT_SYMBOL(dot11d_channel_map); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 820951602fb0..77ae259eab35 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1324,8 +1324,6 @@ struct rtllib_device { void *dot11d_info; u8 active_channel_map[MAX_CHANNEL_NUMBER+1]; - u8 bss_start_channel; - int rate; /* current rate */ int basic_rate; -- 2.42.0