[00/11] staging: rtl8192e: Remove entries from struct rtl819x_ops start with .get_eeprom_size
Message ID | cover.1676840647.git.philipp.g.hortmann@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1005908wrn; Sun, 19 Feb 2023 13:20:16 -0800 (PST) X-Google-Smtp-Source: AK7set+WPoKimD21DHfZqN+C7KQt/UAsUejBI1qtiiF3g7ZzXV1mqlxBtelFjxZa7VTKkLVe/GWL X-Received: by 2002:a17:907:2128:b0:8af:54d0:181d with SMTP id qo8-20020a170907212800b008af54d0181dmr6253303ejb.35.1676841616211; Sun, 19 Feb 2023 13:20:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676841616; cv=none; d=google.com; s=arc-20160816; b=Y4dAQcj7ufpL+IzAOaTA4DfLX9Xtv85IJXthyTdtFFIBOq/x5DaJFRfVjyuHelbPa/ MIpogxT5x6WX53lYznHgpMW/e+sMgaRqxpURWlDdzkqps05ZYlUxfVlvkSF6oWUzzQtJ wOiwjgMTXz8btUxCw3W/QxAEr9+SJRGZ2n8DSa4a7Dn+wA1cvsdpTYy1zCjvQLpQWIk7 BMjrlfd62vWpnBEjiZk7CzLPf5mKGfOU5dzImRuMDx8Ip5i0ipCGiguXJe7tLgOJGbZv JTsu4E/Wx2T3uW/BW2f5jhYwP7F1M8KPMLS6pmcJZ4qTXEiy0XDxyi765dHYTUL95Lqh UHyg== 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=hW2ocK3CJdB874yEAAEAF0LaIVuHAH0k3ElV8Y1gCXo=; b=HV4q3KSYAoVk7wRTjWcNemfsvv8J3N7XCXhw7Vivl4L6lmKessexW4+l+9zvytK4S1 NoSLxk9QGFNH1URE3ykSpLTg/d4EIUgkUoTfGBwzR5u5W56mqRyCQSPf300q7A3SkkTE N35RT026tem/EtlMS2XPM7xMDL64GgFu+b1mmd3zHd5gBVWmwZarUCvphw10xJ4NWHOH GOATJx/XmMmpRrIj94Z3MSvNOCDOvw9X9qQ/5j20Gi87YNQbY/Wo4MtyTAaTJm0uokaD jQjcUOq8/VvKSweQqC310EjiTDv3vQ1ITiSioZtARAfaUtEKxsDeR4FdrrT95xMTLUmR vy3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="UdsJ3T/N"; 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 p10-20020a170907910a00b008cdf4a9c9a8si2320375ejq.496.2023.02.19.13.19.53; Sun, 19 Feb 2023 13:20:16 -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="UdsJ3T/N"; 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 S231640AbjBSVP2 (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Sun, 19 Feb 2023 16:15:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231207AbjBSVP1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 19 Feb 2023 16:15:27 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC28D1969E for <linux-kernel@vger.kernel.org>; Sun, 19 Feb 2023 13:15:26 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id er22so4713437edb.4 for <linux-kernel@vger.kernel.org>; Sun, 19 Feb 2023 13:15:26 -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=hW2ocK3CJdB874yEAAEAF0LaIVuHAH0k3ElV8Y1gCXo=; b=UdsJ3T/NnB+R97oklibeADStpFpn/mUQS5jCqpMdkRB4WkYqp+C1s/8IR8g/n78bhC WfEBgxDR4CiKvAGPOX07KIHOnUdSsCG1+UajpHLS40ZBU85tIXoAL02t9Ic/FB4fe5h8 zBR0VwJHFcIHU4S8cn4mi72IfPBvM340rHK7Z9hLmzk/2tsgIJUZqeM/COEFZUF7h2PO RF6kjkTKy5EgTk7imrgvgGMWhRxvHaqhMoanU1q32PGUpikA9InwOhhwn515VKCbABOw VLFF1HLuhuXguRYI0RYobZDPPczei+EFPZHI0loVlAa8bOLzayfL2DFJrVrWWj5/3YGI ULlQ== 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=hW2ocK3CJdB874yEAAEAF0LaIVuHAH0k3ElV8Y1gCXo=; b=ZPOvHhrZNOKMj5FELa4RQ4/8tiL/Ptz82Q69RRJzJeyh9FDuQR/pNGA3pgaJzAALK2 towE/gxUNfg2JppJjZRA3WiMcwU/YocaQtMMFt+SU6NptTIJfV7U9AnCPb+crhkWtiXm Lr9QBg846M79tJZE5n9Q2ZqwSoKRlxj4MXXBuEozQwEiVxsmgVVYX3NzPT1g2BKHQHze Kgamm8L3TgUx7zSfm7e1qRnbPZ+lFqcv9+kiTqAm+NikmPf4ggEy56/k4D1PwBv1hYe6 v0XEYc+dAnPi/yaBRVGBeGmSmaAuFjLtXTDnk6a70TsVnzrI090vU+JY8XkuQ2XAL6mB m75w== X-Gm-Message-State: AO0yUKX3Jt+P5rXw7ltGeVgBrZDHNsAcNzkdoB++qm1H3kWNqfAoy+wu 2vHJ8jRoqQSzKeMSuv1pygm+k+5Atd0= X-Received: by 2002:a05:6402:4413:b0:4ac:8e63:3008 with SMTP id y19-20020a056402441300b004ac8e633008mr1616870eda.3.1676841324987; Sun, 19 Feb 2023 13:15:24 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p57935146.dip0.t-ipconnect.de. [87.147.81.70]) by smtp.gmail.com with ESMTPSA id m25-20020a509999000000b004ad7bf8be72sm4105089edb.53.2023.02.19.13.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 13:15:23 -0800 (PST) Date: Sun, 19 Feb 2023 22:15:21 +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 00/11] staging: rtl8192e: Remove entries from struct rtl819x_ops start with .get_eeprom_size Message-ID: <cover.1676840647.git.philipp.g.hortmann@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758295874452458670?= X-GMAIL-MSGID: =?utf-8?q?1758295874452458670?= |
Series |
staging: rtl8192e: Remove entries from struct rtl819x_ops start with .get_eeprom_size
|
|
Message
Philipp Hortmann
Feb. 19, 2023, 9:15 p.m. UTC
Remove unnecessary entries from rtl819x_ops and replace them with with function names. This increases readability of the code as the reader does not always need to look up the corresponding function name. Tested with rtl8192e Transferred this patch over wlan connection of rtl8192e Philipp Hortmann (11): staging: rtl8192e: Remove entry .get_eeprom_size from struct rtl819x_ops staging: rtl8192e: Remove entry .init_adapter_.. from struct rtl819x_ops staging: rtl8192e: Remove entry .initialize_ad.. from struct rtl819x_ops staging: rtl8192e: Remove entry .tx_fill_descr.. from struct rtl819x_ops staging: rtl8192e: Remove entry .tx_fill_cmd_d.. from struct rtl819x_ops staging: rtl8192e: Remove entry .rx_query_stat.. from struct rtl819x_ops staging: rtl8192e: Remove entry .stop_adapter from struct rtl819x_ops staging: rtl8192e: Remove entry .update_ratr_t.. from struct rtl819x_ops staging: rtl8192e: Remove entry .irq_enable from struct rtl819x_ops staging: rtl8192e: Remove entry .irq_disable from struct rtl819x_ops staging: rtl8192e: Remove entry .rx_enable from struct rtl819x_ops .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 42 +++++++------------ drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 20 --------- 3 files changed, 15 insertions(+), 49 deletions(-)