From patchwork Fri Mar 17 19:13:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 6829 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp517156wrt; Fri, 17 Mar 2023 12:18:19 -0700 (PDT) X-Google-Smtp-Source: AK7set/Eh7UftUDndnHd5iZ1DI4J+v3qZqXYDv4AJly/1MOaF5Fg+cgHu0DkWRe4LB0OBvdsax8H X-Received: by 2002:a17:902:b713:b0:19a:7439:3e98 with SMTP id d19-20020a170902b71300b0019a74393e98mr10993875pls.4.1679080698791; Fri, 17 Mar 2023 12:18:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679080698; cv=none; d=google.com; s=arc-20160816; b=eJXbgGoblPWOpXAIxfZ6yrOTN0blAqCoHsGn53trRKYxLBlTwwWmjyZTQLcc3Dzb4L 5/XBv26i1fdx424DjJrK+Y6xEHYdC9kNQP/crw+UySTvXqulAyEb7KXoR1EzgeqZodC3 yF0tl551knrSkQgQFBnWAenwcDjUl3GyZKhv6Md6iI6BKerrG2puwElXTSl4RudUtCwA zhoXUUPQGYSR8j8TTcUiI5caTmECsgvee+Tve9t+e/b2Ew2YdPgqmVb1taAtep51FLBh qBFMMT0UO6HyTHPMkXAGm88mDrLFJy7yiSD3oLTUvwh5ccsV+FGvt9yi/9ftkdZGJOaw 0BZQ== 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=2ix8EQksndO3G3brsWn9BU0CTLTfP5xpCqjBQ9yJVdY=; b=Ij79IpdsneeslP1vqkJcgxrOOGHkHf7xXO+kl4iT6FwDe2gSilU14EtmvKVcrp16AZ t6MkoFE/QevfqB8k/o1HzQfyn0a/JySydLqTTMKJBfxty5GPZjncdSPFOEAbTTQghT8v C3hefvGxTaFfDUNoD+h7XZMokiHj9SlGoLYBbQvSNwUNTw3JjKlRIYiatGbNClTxPGvj lv/fhwwH6QlTjQT2LZBEoWQtvkts94a6p56ptINyS9P0xe6sDV/1C1TjvzmeHUmQQWnu eQaS4fIogZFvp5tCflm7qGqTy+T2wQ00eacrFUveRlfKzx2JFeGV25GcEHdftzBEDnq3 hiJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B1mdA0JH; 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 kw4-20020a170902f90400b001a17a0e9b73si2965836plb.425.2023.03.17.12.17.58; Fri, 17 Mar 2023 12:18:18 -0700 (PDT) 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=B1mdA0JH; 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 S229986AbjCQTNT (ORCPT + 99 others); Fri, 17 Mar 2023 15:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbjCQTNR (ORCPT ); Fri, 17 Mar 2023 15:13:17 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7883AF284 for ; Fri, 17 Mar 2023 12:13:10 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id y4so24319039edo.2 for ; Fri, 17 Mar 2023 12:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679080389; x=1681672389; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=2ix8EQksndO3G3brsWn9BU0CTLTfP5xpCqjBQ9yJVdY=; b=B1mdA0JH64t5QhGvLvDrtnfJvORC9uLmdmydjnERPB7xs/U4pR5qHCv2POdBoVELqQ Rmvwfc+HMNJw3i6ZcKXYCwLv20uV0S4+Mhs9QQImCuKBoSDzterC23zFdp0UMgdt8YuP LRSVm/sJreoDtM+sZx/JLygJoBWXVEelLsWDXC65apndx1Lo3mrq+/Tedr0yK/Bkpsfh d90yIgqb6X6IdDuZtn8ljO4Kh1BX1cqLsPRHuU2VStLV6LKJfgFfLpHftzyalVe4ZLBR jpT6s1Xi/Su58ToooUITzmgpbkJemAfq/EX5ZDu6SlWO3i4OX6qo+Ebqz9vLnbwjTx4/ sNvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679080389; x=1681672389; 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=2ix8EQksndO3G3brsWn9BU0CTLTfP5xpCqjBQ9yJVdY=; b=3M/Rk//6PYR3mzJlWZ8+/LzA8l3kOWXvEqS12b/b2hqbfTA4IDFLMS6ifrykY4G4rg dSfdAmHBBE419CAPyAb6LfSAEDJiK96eeD0pBZwjerQQhzOeollvhwgUOzaSOChcLaD0 zvg8RyqYHWX9Hg+94nG6Izj6URyPudQSO4+RprTuFjb0fzqD9ejInRGX+IxcDNNXmlFs viiI6PiU19myZg2Jsea2rOI1sAB6IfXu3T7NrR97iXplP139S3EIToUUm+ptEcBt4eEk Wc1Ju6vc/mAz8xvE91xh0XQka1ApIZ9N1JWo4WRqhjhAZca6h8BYLJKx6mDg+9Oe++YB zKuw== X-Gm-Message-State: AO0yUKU28JxjowtLg8pf0s6TEGyY6v2LU04/JJg5UIpenJk6nERMmbse bcTccd+Q2VQwSma3DRPEoCk= X-Received: by 2002:a17:906:213:b0:931:5145:c51f with SMTP id 19-20020a170906021300b009315145c51fmr4772714ejd.4.1679080389158; Fri, 17 Mar 2023 12:13:09 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p57935146.dip0.t-ipconnect.de. [87.147.81.70]) by smtp.gmail.com with ESMTPSA id k19-20020a1709063fd300b00928de86245fsm1276913ejj.135.2023.03.17.12.13.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 12:13:08 -0700 (PDT) Date: Fri, 17 Mar 2023 20:13:06 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/9] staging: rtl8192e: Replace macros in r8192E_phy.h 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?1760643722629009590?= X-GMAIL-MSGID: =?utf-8?q?1760643722629009590?= Remove unused variable or macro or replace custom macro with standard kernel macro or function. Tested with rtl8192e Transferred this patch over wlan connection of rtl8192e Philipp Hortmann (9): staging: rtl8192e: Remove unused variable rtl819XAGCTAB_Array staging: rtl8192e: Remove double defined constants bMaskBytex and bMask.. staging: rtl8192e: Replace macro skb_tail_pointer_rsl with standard f. staging: rtl8192e: Remove unused macro queue_delayed_work_rsl and queu.. staging: rtl8192e: Replace macro INIT_DELAYED_WORK_RSL with standard m. staging: rtl8192e: Replace macro INIT_WORK_RSL with standard macro staging: rtl8192e: Replace macro container_of_work_rsl with standard f. staging: rtl8192e: Replace macro iwe_stream_add_event_rsl with standard f. staging: rtl8192e: Replace macro iwe_stream_add_point_rsl with standard f. .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 10 ----- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 38 +++++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 3 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 3 +- drivers/staging/rtl8192e/rtllib.h | 15 ------- drivers/staging/rtl8192e/rtllib_softmac.c | 23 ++++------ drivers/staging/rtl8192e/rtllib_softmac_wx.c | 3 +- drivers/staging/rtl8192e/rtllib_wx.c | 42 +++++++------------ 8 files changed, 41 insertions(+), 96 deletions(-)