Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp585021rdb; Fri, 6 Oct 2023 12:05:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkpmW46W6QlPoVqfFrgN17WU8VYwQaS7kNWcUCAySLBxjKmlvobJ4CHEeqUvMgSpyEpZuh X-Received: by 2002:a05:6a20:2445:b0:15d:8366:65be with SMTP id t5-20020a056a20244500b0015d836665bemr9669605pzc.9.1696619154536; Fri, 06 Oct 2023 12:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696619154; cv=none; d=google.com; s=arc-20160816; b=mNdrpZAVx2y8dLCHQIZuZ8082bm9d0jVS3/WsqcneA/OBtrjQ57VrRe6THITPUXZ7W KMnZDfhRb695uSFg8EQDDoDi6FbOeFDYvTz9V8Cd3Iu2/FeuxuRfswqIu8OgSQngu4OB VHaz9UUVRtHwN2PljCc8HnG4QXhrRFEaC8YrzvPb71RUiMLXrU6oBvlOfvHqE7miaowB fzliAO7WQmliZ3UVbrM/DJu9escpp4YOO4V+jpr9TrhP2YiBh/dm6punBslIT7K3GV9E dfdXG01+EQ3R4q6JTNRaTZAw8nobLgJN4hORi6ljdQ0wTinxxZ+ocr6tu4W38eLwJegc cphA== 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=L+5/W8zfr89+jzPHersBFwpSIge2gJvw1XUex3kLRTw=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=HTc1+W1da4xAkUtCvh8GYZJaabtvCo7jNzFy2V/If9X+uIBxBGvSh+a66fQdGGQotv ETqz6JmpjAT11yCsGE4vsMVTGJrbqobwBDi8zcB65uA/SCi4L2TD4p75s1AzH5bV6Jyu wPNX4dqVqUpfaRpSN5sikHnOh4/kPc49roo3cWOemcVoZuAzQYFCswYiGJx4ajoI9zQ6 EihomIF73MvNnwENWjF9P0dLbXnfzPOb8FnyJzBmkHEQLn2hIeqOlQrczukqlEOdKJm9 oT4MJS5i4nWxkIiibZrtvCtgzctbuq0QnnLPttVfOI6hhr/pMMhZRmfbAtcQvvs3BtYc Qu3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RxffgPUq; 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 fa40-20020a056a002d2800b00691023321ebsi2085940pfb.113.2023.10.06.12.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 12:05:54 -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=RxffgPUq; 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 5653081BF303; Fri, 6 Oct 2023 12:05:50 -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 S233349AbjJFTFb (ORCPT + 99 others); Fri, 6 Oct 2023 15:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233376AbjJFTFU (ORCPT ); Fri, 6 Oct 2023 15:05:20 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60160ED for ; Fri, 6 Oct 2023 12:05:18 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5221bd8f62eso777124a12.1 for ; Fri, 06 Oct 2023 12:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696619117; x=1697223917; 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=L+5/W8zfr89+jzPHersBFwpSIge2gJvw1XUex3kLRTw=; b=RxffgPUq5lYECZajZM5GZzWgLAQiD9CInxzvBr7WLR84wSgJu3VRkIHFnOpG8am7Z0 lLeMwifdSsEXnssAYjsG+jK87MtzNNXfqV2jQMh9ViSneh1CSoHs914xSCS5CEVKhlAq GwuRKMLksIlKNZG6SlYGH/V8KKSvQLotzME6Py+o2xVngWaGiTN7m/Rs5QzmnwIe9SDC IYlzX8FXzxOaCJb1pACHTYTVbVbpOjmlBguRhT64/7d+smteRdfQ7nvtnsvjq1sQ4r6u JditJADJ8Y5lFntpJs+wrGzpZ0mDEkQIhiuGda1X5JYt/JD0YUJukWKLZ+DMHK0b358L XhrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696619117; x=1697223917; 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=L+5/W8zfr89+jzPHersBFwpSIge2gJvw1XUex3kLRTw=; b=PKsHT40cUJAXdkTSUJjEjq98evCT5NcqEpc8C5rLb+56Dm/Q/X0DB3oYjCGeiRZGMo qLf1OHNpChRxMJpBK7tpcrJSkD0LTGZd4X3jZtC72eO6BwCJenyy7khnhr2WYvmxtFDY Z2RvFt5FkeDs5i/dPIA1xKu5sRhTq3lXhDetPtgWj9Nz/CdeaOepUiXbihwu2bT4XLkm BcTdCcRj6bmseCIUGkLFt2NJrmzdu29UOlIdcdGSPiX8oMvBYmKfupVmyzJzqLRBeRBN ktCde2N4w8FAGBAosiKL/H+ZfRsdgDbIpNb6tutLMxD4U2Ne2PCRFj6gmKVq51RfUKX6 Lleg== X-Gm-Message-State: AOJu0YxocEBAXJCFQFQzb9ZyuzXrJVTR8GA0zllSxjOqOidAejypQ8pO ouEU9ychEh0BBAkP//Xr7sg= X-Received: by 2002:a05:6402:524a:b0:530:8a69:c6da with SMTP id t10-20020a056402524a00b005308a69c6damr7326575edd.4.1696619116810; Fri, 06 Oct 2023 12:05:16 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id r19-20020a056402035300b00522828d438csm2993147edw.7.2023.10.06.12.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 12:05:16 -0700 (PDT) Date: Fri, 6 Oct 2023 21:05:14 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] staging: rtl8192e: Remove function _rtl92e_wx_set_scan_type() Message-ID: <8a0ce95447dbd736e3aeec5f7aa0e997f916b7d8.1696548527.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=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no 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]); Fri, 06 Oct 2023 12:05:50 -0700 (PDT) X-Spam-Level: ** Remove function _rtl92e_wx_set_scan_type() as this functionality is not commonly used and the tool to access it is deprecated. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index 27309df925ba..d4d8d66df82c 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -627,22 +627,6 @@ static int _rtl92e_wx_set_enc(struct net_device *dev, return ret; } -static int _rtl92e_wx_set_scan_type(struct net_device *dev, - struct iw_request_info *aa, - union iwreq_data *wrqu, char *p) -{ - struct r8192_priv *priv = rtllib_priv(dev); - int *parms = (int *)p; - int mode = parms[0]; - - if (priv->hw_radio_off) - return 0; - - priv->rtllib->active_scan = mode; - - return 1; -} - #define R8192_MAX_RETRY 255 static int _rtl92e_wx_set_retry(struct net_device *dev, struct iw_request_info *info, @@ -896,16 +880,12 @@ static const struct iw_priv_args r8192_private_args[] = { { SIOCIWFIRSTPRIV + 0x0, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "set_debugflag" - }, { - SIOCIWFIRSTPRIV + 0x1, - IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "activescan" } }; static iw_handler r8192_private_handler[] = { (iw_handler)_rtl92e_wx_set_debug, /*SIOCIWSECONDPRIV*/ - (iw_handler)_rtl92e_wx_set_scan_type, }; static struct iw_statistics *_rtl92e_get_wireless_stats(struct net_device *dev) -- 2.42.0