Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1872267rdb; Sun, 19 Nov 2023 14:14:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IE10JQ2WHRhIoSqf3qhSkvJepfqDbnsvVumrA+IxvSdkC/w4UCINIuBnZZgm/BiviGbf3o4 X-Received: by 2002:a05:6870:7185:b0:1e9:de31:8000 with SMTP id d5-20020a056870718500b001e9de318000mr6744485oah.9.1700432089838; Sun, 19 Nov 2023 14:14:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700432089; cv=none; d=google.com; s=arc-20160816; b=u+DnS4GDJ9pwrHVSoebE967kKm8B3b+DrjsJLC8e3UYz8oy0eTqMh0IPIR/0leB1+x HDgEF+//1cpE0D4Regza7AyKDmUl0+5Jf0cxXDtRD/lNA0KrDISdTWakU/kClbxYV1D4 MPBBpZ8IXRdhASuIvYYHQcQuk5+Opwq3AOPcBXcJfuDiNJP78nEdNQZ9maKsYmjxWgN4 bOCSXrLgzJpcbBYzFS+PoU2txVBFg3uE7Z+QT3CmzzG8RkB+3D0bptNzD1MGaWH9xpHx E8BhixpWdVLiNIGoSkz7WE10ZkZHaALngl5hxQtmgSE4S0M3QcRwGCZEi50BmCq66iW8 mhJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=6SgJuOVjQrC/WMtPUl/tqm5BE2EEMD5VGhqPFuJyEFI=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=mHAu016+z03f8w8JiN01GT5vXGlTorsoLbyIOq4evrwmDSuhJ8Phu+8kRs6IhnwvIq PS07F/x4LpF1MKeafxOtagkekf13TqCt3oPuo0l24pWeNIZGX8PN7rWCxDkNwHKhH2P9 ows/MtluOG6KNtbRez3O3O+ITP4bRU0z8d7/aTy83A3aFJADhZX1hXEEwEjhW5z2ZXWM v9Lb4s0WFYePxDkhpDFPpbuhLQL2EBdmeVI3xqNxTArh+K6J5uxHVyj+d2xprHoVUHZE t5+XSoJm2JSRPRw7ha462Lk4TmwBHvwA8MxSEThWVQZYI7ruNOMlxR034PK6Xm3EptfS 5IQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZxoSZk9N; 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 gm23-20020a17090b101700b002773cc10d3csi9392320pjb.78.2023.11.19.14.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 14:14:49 -0800 (PST) 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=ZxoSZk9N; 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 6461780A4A35; Sun, 19 Nov 2023 14:14:44 -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 S230393AbjKSWOf (ORCPT + 99 others); Sun, 19 Nov 2023 17:14:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjKSWOe (ORCPT ); Sun, 19 Nov 2023 17:14:34 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4BDEF2 for ; Sun, 19 Nov 2023 14:14:30 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3316db2c5c0so501725f8f.1 for ; Sun, 19 Nov 2023 14:14:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700432069; x=1701036869; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=6SgJuOVjQrC/WMtPUl/tqm5BE2EEMD5VGhqPFuJyEFI=; b=ZxoSZk9NbKYMPLuWZSRfjhRryGrr9+mDKcy5lKLk67/0EKuE9nQMIdDK3kzKxlEnjq MC+T3fvNkH5SnrBfYrPVLLUVTW91UrSdHz2AHSsBeav/B/bMQ9P3oNLjLKvjb60yR84w xzew5si5voU+32HR2Va6xFiUhOgXRv19cMYhKLL3uPTC5h2T3/1Pp6T5yz/2hqtLxYTK oHUuQHjocGtIx1KiHlDzcLkSQwKhPTLZZMMsInkeMwdYzJdi5UG+1HqomsN98riwPpq2 H++1NXbRXf6YBJWzjaGiWIos144L2Id6G39eKYcXRPjhs54spisyye6rUVHwDI/UHUzY zWZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700432069; x=1701036869; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6SgJuOVjQrC/WMtPUl/tqm5BE2EEMD5VGhqPFuJyEFI=; b=L3Y5h+oHTjvHMJfcmRV75xzRanrPu3QWr7s4bZW5mAZerk6c1gzn5drgXPyCWZlQOx 1S4izpA0TRBNAXFvVz+EgNeUZ/ZYrnGv90lU0tIsLFlqHeua94+UO0s91gMtWmJLFNaQ hGwibmAC2odNSeuHr0LYx+eqAXIIS4odMfqWkNwxG+h5Vo8AGhmhC73gBwoZNrfUOt+R bBQpwYcSgXx437HGFnOl3VT5lIxy8bITFTkwTuelNIkM2xRRpsarb9Ylk3mkJIpgmOmx eJFwsEDBAzQsnWgup82wgUXTUtMjIHKI2oBC3k22PEQDJsCYNZlweWrdUIf+GJDtrz4R M7fg== X-Gm-Message-State: AOJu0YzOcZPLIjCFdtCPJwnzMlimfcjAn6tuHzDOh8JZ0ttjvbIP/vTS sAPqQUQMNneNbDUQlM4qytLoXi+bCps= X-Received: by 2002:a05:600c:468f:b0:408:3a29:d7e8 with SMTP id p15-20020a05600c468f00b004083a29d7e8mr5056535wmo.3.1700432069001; Sun, 19 Nov 2023 14:14:29 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id f26-20020a7bcc1a000000b003fee8793911sm10923341wmh.44.2023.11.19.14.14.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 14:14:28 -0800 (PST) Date: Sun, 19 Nov 2023 23:14:27 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 00/14] staging: rtl8192e: IS_DOT11D_ENABLE() returns always false Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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:14:44 -0800 (PST) IS_DOT11D_ENABLE() returns always false. Remove dead code accordingly. Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s) Transferred this patch over wlan connection of rtl8192e. Philipp Hortmann (14): staging: rtl8192e: Remove unexecuted rtllib_extract_country_ie() staging: rtl8192e: Remove unused function dot11d_update_country() staging: rtl8192e: Remove IS_DOT11D_ENABLE(ieee) staging: rtl8192e: Remove unused function dot11d_scan_complete() staging: rtl8192e: Remove unused function dot11d_reset() staging: rtl8192e: Remove unused macros IS_EQUAL_CIE_SRC and friends staging: rtl8192e: Remove unused function copy_mac_addr() staging: rtl8192e: Remove unused variable dot11d_info->state staging: rtl8192e: Remove unused variables from struct rt_dot11d_info staging: rtl8192e: Remove unused variable country_watchdog staging: rtl8192e: Remove unused variable global_domain staging: rtl8192e: Remove unused function dot11d_init() staging: rtl8192e: Remove unused struct chnl_txpow_triple staging: rtl8192e: Remove unused variable bss_start_channel drivers/staging/rtl8192e/dot11d.c | 93 -------------------- drivers/staging/rtl8192e/dot11d.h | 56 +----------- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 1 - drivers/staging/rtl8192e/rtllib.h | 3 - drivers/staging/rtl8192e/rtllib_rx.c | 31 ------- drivers/staging/rtl8192e/rtllib_softmac.c | 20 ----- 6 files changed, 1 insertion(+), 203 deletions(-) -- 2.42.0