Message ID | a13a8421d43ef1baa2077af1d4955059eba52d79.1700431464.git.philipp.g.hortmann@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp1858949vqn; Sun, 19 Nov 2023 14:17:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaAGonnUy7K25Fxetiw1dnanNB5r7QErZ+ZI4GOZIroXFeVDzqjB+Gzsgb9vqy3THviSti X-Received: by 2002:a05:6820:2217:b0:581:e750:9995 with SMTP id cj23-20020a056820221700b00581e7509995mr6731136oob.3.1700432227915; Sun, 19 Nov 2023 14:17:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700432227; cv=none; d=google.com; s=arc-20160816; b=vd9bFGgPquAaJibMifVpRS7SKXiJ6QAv2PzSg2DfSmX1vxeVClrUmgEHZCe/QDKrgK rG5kDXpkHzBvoSCBjtDCOfb8EM1T2a7l5dURJ3xYiP+f4wWkAEXX9iHBNXHTfoLK85+1 4Rlu44ECc6M3Rp6Yf/iNTAOFj4POZNHIAyjqSn+Pp42M9NyJwhqXHq4xwveQumSot3pM RKusarPQ15GYGiuicQeDpxICysINvFadTaq7gfrOo9pxA2mDQhCRRZnZuTubTjnme8PQ vo4MD/pJSpYGUkH6Pyte4v8ReqkIpJ4z9XmgvA+bhzdCn3r7ADEyLoGdGEiOKJHDHhMD Dk4A== 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 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id cm9-20020a056a020a0900b005c200f02d9asi7244387pgb.621.2023.11.19.14.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 14:17:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; 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 23.128.96.35 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 8EBD78078C99; Sun, 19 Nov 2023 14:17:05 -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 S231651AbjKSWQy (ORCPT <rfc822;lhua1029@gmail.com> + 28 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Sun, 19 Nov 2023 14:16:08 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-53e2308198dso917575a12.1 for <linux-kernel@vger.kernel.org>; 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 <philipp.g.hortmann@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 14/14] staging: rtl8192e: Remove unused variable bss_start_channel Message-ID: <a13a8421d43ef1baa2077af1d4955059eba52d79.1700431464.git.philipp.g.hortmann@gmail.com> References: <cover.1700431464.git.philipp.g.hortmann@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cover.1700431464.git.philipp.g.hortmann@gmail.com> 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: <linux-kernel.vger.kernel.org> 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]); Sun, 19 Nov 2023 14:17:05 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783032423905367636 X-GMAIL-MSGID: 1783032423905367636 |
Series |
staging: rtl8192e: IS_DOT11D_ENABLE() returns always false
|
|
Commit Message
Philipp Hortmann
Nov. 19, 2023, 10:16 p.m. UTC
Remove unused variable bss_start_channel.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
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;