From patchwork Sun Dec 10 15:25:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 176351 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp6569926vqy; Sun, 10 Dec 2023 07:26:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFceELPpXkmqPHbHa0rwU8JuZ6Scc7ItbSYs3op5arI9ddMLO4odXL+aBSar8WgglIitNBx X-Received: by 2002:a17:902:7d8a:b0:1d0:9471:808d with SMTP id a10-20020a1709027d8a00b001d09471808dmr2713004plm.93.1702221994357; Sun, 10 Dec 2023 07:26:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702221994; cv=none; d=google.com; s=arc-20160816; b=p4TMJ+vgyUGusHGCLaSafK5HtPM/T82Wu74Ymi96qaYhzo8tEu7V7lY84Ebc4w1QV/ HpPYEFLO62H98ZCjXTbwyvktAR8nisP5jZ3TYFLKJ5yW8UBvxCMLG/p2hj+7cek1dqAC H4hsrpKErFqQssKGHJKtQjpCMKOzeOM9GNMBXE16gFhlz628U9cxtDLcokyFrjtr7cT7 jsr8Jof7zTtmBd6VRIO7tmAhnU/BrM2g33JRh9iRkP7yGrUQKU5Bwneory3H/dFqzG8O la1kTpzJXtMkbMFpN5hr3mOYBLBQgffbm+OgjNNt9oKyW0YM5ysuJy1H3pQErkkoBAWM vSDA== 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=1HxTpgRZMqUaasDK2SQoows7vTW70XnRViyUroMPu9U=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=cGUa7rjUvklLFOPXhF/QfitnrQjj/RgizBSdUnOh5NxXRj5iypzLXjABy7t7buamtt rGr7V5VMcZWXFbfaQMMYaYj2gwr+BWSkVdLIE3c9f9pxe1A5JyH+kL8pW9CrW3+4Q4Gu 88WTe1ACOKYYTE+o+PAyPzrW2TKOdNsU2mjPh4JkxhY2IZerlolcjR3moHPn23fNWgxg d/aWSxPrz5YFU7+hQ9ayIpxVY8d267bsZ0BQPTFOHEQ6YIuLtIYn27f4b8TaPJr7FrON mFniVb8P3/LjqdLKZ0XAYVg5CcoZzfFD/Of21luLR2f6tUZw89OsQ767F0Vs+fEwWUtT cfbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=njlxZ3SV; 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 e23-20020a170902ed9700b001cfd2c5ae92si4644935plj.521.2023.12.10.07.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 07:26:34 -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=njlxZ3SV; 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 7D3F1808723D; Sun, 10 Dec 2023 07:26:31 -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 S232608AbjLJPZ7 (ORCPT + 99 others); Sun, 10 Dec 2023 10:25:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbjLJPZz (ORCPT ); Sun, 10 Dec 2023 10:25:55 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F251C4 for ; Sun, 10 Dec 2023 07:26:01 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40b36e721fcso7374855e9.0 for ; Sun, 10 Dec 2023 07:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702221960; x=1702826760; 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=1HxTpgRZMqUaasDK2SQoows7vTW70XnRViyUroMPu9U=; b=njlxZ3SVKMNr1PdGKRq/wNtb7vSLaJi3Nnj53UeSUVtse+LfNEI6Vxk0o5CTD8imtK aeLuHEOvi1GxsKG+upcscV6q2oHdR2Jl2oOPQDC8nxo2u3UDh6FR2WXD1n8yCJDPDa7b p+SGSee5JblKivTt7/1Jihs6qCEgPQtkfPLCqPwdLb/FLkFnrumjhBJqAP6r1d1ERHu1 qiY6vraehAgz8hhKsOLR8OyCzqMBMca8uxtq96bMvxf0TFxF2KVla3Mbchms0dsqmfpJ 929hRwQpvQ66BMpZKtc8/ZK+lMZCXJkM3CRTmXUIZgLDvq9e4dfGzJqq+9zEsBNrOX46 jFTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702221960; x=1702826760; 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=1HxTpgRZMqUaasDK2SQoows7vTW70XnRViyUroMPu9U=; b=pTJPD/xpLw4zbY3q7I8TmMnjRsGgQ1/RoXr8Xe4iLT2uSQ/8lFdGp4sh1I473q+s4S zsVc6WYd6n3osqWWwR2nDwT/hEASSruBCCDytyXYuNRav7P1nrsk0bAXQpCJOSkEFLM3 9f1F88oFhBpxz5ANZDocDQ5dlf0Tb2pyXIdWRW2DKxGcAJMjfT+UKqgmLOxDb/18xag+ PaPMnw7UgV+i63oj7cB2b3ePSnmrMss2oDqKzeVYBmjbU12y6SKNSeuZDPkKOdJ6RTqS fpMCe5PIpnbkcxa3dVUQfhYY/BZDVeJPa1EjYVDWv8dggjcQg+4rY8BtMh41uSK7+GOD 6pxw== X-Gm-Message-State: AOJu0YzYuhNDEo8STBy0op3LHJC9kZLWHdYK8fG3fSbKmt04SW7GnmH4 00s8LJh4KGkyyWq6UkZnlvU= X-Received: by 2002:a05:600c:511a:b0:40b:516a:3856 with SMTP id o26-20020a05600c511a00b0040b516a3856mr4029610wms.1.1702221959852; Sun, 10 Dec 2023 07:25:59 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id fc17-20020a05600c525100b0040c42681fcesm3080228wmb.15.2023.12.10.07.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 07:25:59 -0800 (PST) Date: Sun, 10 Dec 2023 16:25:58 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 01/10] staging: rtl8192e: Remove unused struct iw_range_with_scan_capa Message-ID: <8b4532b8739ca0baa9fa7c736dab68130510ffe8.1702212003.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 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]); Sun, 10 Dec 2023 07:26:31 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784909129815148287 X-GMAIL-MSGID: 1784909129815148287 Remove unused struct iw_range_with_scan_capa. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index 4371ab1239ee..4c884c5277f9 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -158,28 +158,6 @@ static int _rtl92e_wx_set_mode(struct net_device *dev, return ret; } -struct iw_range_with_scan_capa { - /* Informative stuff (to choose between different interface) */ - __u32 throughput; /* To give an idea... */ - /* In theory this value should be the maximum benchmarked - * TCP/IP throughput, because with most of these devices the - * bit rate is meaningless (overhead an co) to estimate how - * fast the connection will go and pick the fastest one. - * I suggest people to play with Netperf or any benchmark... - */ - - /* NWID (or domain id) */ - __u32 min_nwid; /* Minimal NWID we are able to set */ - __u32 max_nwid; /* Maximal NWID we are able to set */ - - /* Old Frequency (backward compat - moved lower ) */ - __u16 old_num_channels; - __u8 old_num_frequency; - - /* Scan capabilities */ - __u8 scan_capa; -}; - static int _rtl92e_wx_get_range(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)