From patchwork Thu Feb 23 06:47:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 5771 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp172268wrd; Wed, 22 Feb 2023 23:03:02 -0800 (PST) X-Google-Smtp-Source: AK7set93lsxtK80yq4j4VTxl5d6SNexC/ZP7rXjFf0gA80HJLxTYl4J+yOETscZyR48YBL53mgZo X-Received: by 2002:a05:6a20:3d24:b0:cb:692e:6314 with SMTP id y36-20020a056a203d2400b000cb692e6314mr9854933pzi.6.1677135782025; Wed, 22 Feb 2023 23:03:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677135782; cv=none; d=google.com; s=arc-20160816; b=op/qtaRhHKTJchvHM9tMhu3O+bFRYho5gx2tXpp+TAYYJRbTDRZOsw2J/AM5e9F3wM Cqa/EGt+ho9Ze/4WgHekOFlQNUIEbPziKHECP7Ee3CHQXsNXEqE9bQALSE3/7TPCdxBr gSK00pWlj0WssxcYCPVYFlJ4uV1JY2RMfZhSUiIizDIfW83jKzxYXa/vLrLZZnY4UuUq GWBI2M+kxzl1VpnjCj50zb8Eg2pOniehrZgMRpMI9khxQWmjOYuXUu6YHEUlHuL3dfAR JBJNVph2GIXUmbTlBkc5nFUW+ynYXNO5LmtVtym0maxW2m5nfRJBGuCn3js/iV5KEndq VrXg== 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=bsmNc0LW7KgPfnQR1pgTAG9e2DXG8L7W1cjt0n+8dxo=; b=cmgdx9e2DwniYjD+fkA8kFTpcaCZl6ZrmnyB9K+TJH5ul48gDH/IONuB0NoOxRfwcH zqczcyPAsfq+5xXjLeuz3TZuTLxpFgmQW64GR8FkviBTJOpiqaaXbpp8kbbRTNJhhJiJ w72bL2q1Z9N0QDvtA8X2EL4yjRw5/fc4fYe7vavLmZcelOifRR4NW6p9K58IOsdF41eV BUc87SoZuseHbbhUX0SbUCLgaAmSSyJszyGwAthm5ot9zHvEAAnme1grM+IAzMDX9+RN CBqBkcr/Qd1sxhptAX83ZOkfN3cb1XqEXcTDNCseOYQRx1gPXZky8D5whu2uD1mR3nXp M8YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X80BSI6z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b195-20020a621bcc000000b005a9c2c4657fsi11149368pfb.191.2023.02.22.23.02.34; Wed, 22 Feb 2023 23:03:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X80BSI6z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233412AbjBWGrU (ORCPT + 99 others); Thu, 23 Feb 2023 01:47:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232056AbjBWGrS (ORCPT ); Thu, 23 Feb 2023 01:47:18 -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 2B3991E1D6 for ; Wed, 22 Feb 2023 22:47:17 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id ee7so23835579edb.2 for ; Wed, 22 Feb 2023 22:47:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=bsmNc0LW7KgPfnQR1pgTAG9e2DXG8L7W1cjt0n+8dxo=; b=X80BSI6zDmDav3I62Y4AZ6scW7/BNN44H3/n8Vms8apOHaFSQjMa6Mwd8iJ/B/ftrK yt3qqRuIkWvlVdOSudFYCWCpLp9aHTRaEwFYJUbxTqO1+VzQagMPscUqhUSDbDp1xGYB YrNvIbwiBpa5iUv8DkHILYQAjsp8VRl1ptdGYsH/eBIBkfJzNxEAIPPEyB0ZIM5A+XPx 6utu8vHe32XZFwxhR+1sZfvk9ucNxoG3yS9VfsrFp3FqtoqLAe8VGje6YYaemTA7Q4nC QbNqJdf31G4Rjv6as/iIFzt9j2BjsCupWfCUQLRLZ3QQQR5IRYJqm0NrtSUkvs8OSyFm FFuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=bsmNc0LW7KgPfnQR1pgTAG9e2DXG8L7W1cjt0n+8dxo=; b=S/KZnIqPUAgaSvEHUqMQWokXgH7BcqXswBcWj2c2Q7+1j0OcQhNwb3Bl+xHK/Up3R+ AeX3YYhxhmYsoPXp6xvgjNOwwJY7cOXXr8kSi4xkaTRDjP4B+8G0CAejremPS2fMRlFm 4SWOK6RYGDb7Rp7lmfZ5eR0WbmP7KoLHcJ0Ku71DTpkj2fiT20uuH9h4KmIOR/b2Q+Z+ wGcEtKkJJ1Vb0jvd/D0lzJXWRQp/MI0lwF/Ld8yJ6P+1RFRo1p73jn4DnDn4N9GNS+9t v/VSgpXPDrXEb4rdn3Dupnddxlo1aEan5v/M7KgEZX2TT8G0IWgbc4BsX3wJrINNYmal 326g== X-Gm-Message-State: AO0yUKUl54/bOjLrs9lDHtsRahQOPDD9OLeMcBmfZGP0s2Vm48hYocuZ 5TWxMfY+1PZtChqRquNosLE= X-Received: by 2002:a17:906:2cf:b0:878:5fa4:7443 with SMTP id 15-20020a17090602cf00b008785fa47443mr17928861ejk.3.1677134835553; Wed, 22 Feb 2023 22:47:15 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p57935146.dip0.t-ipconnect.de. [87.147.81.70]) by smtp.gmail.com with ESMTPSA id a26-20020a170906685a00b008b1b86bf668sm8125522ejs.4.2023.02.22.22.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 22:47:14 -0800 (PST) Date: Thu, 23 Feb 2023 07:47:12 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] staging: rtl8192e: Remove struct rtl819x_ops that has no entries Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758604329870491759?= X-GMAIL-MSGID: =?utf-8?q?1758604329870491759?= Replace macro RTL_PCI_DEVICE with PCI_DEVICE to get rid of struct rtl819x_ops in this macro. Remove empty struct rtl819x_ops from driver as it has no entries and is dead code. Tested with rtl8192e Transferred this patch over wlan connection of rtl8192e This patch series requires the this patch series: "[PATCH 0/7] staging: rtl8192e: Remove entries from struct rtl819x_ops start with .tx_enable" Philipp Hortmann (2): staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE staging: rtl8192e: Remove empty struct rtl819x_ops drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 12 +++--------- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 9 --------- 2 files changed, 3 insertions(+), 18 deletions(-)