From patchwork Sun Nov 6 12:48:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 1238 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1476477wru; Sun, 6 Nov 2022 04:49:53 -0800 (PST) X-Google-Smtp-Source: AMsMyM4+QnW4gkjZmF9diS60R3VYg0MPQUFm7Avc0WzBSfQz1Kaw5meSupjt0xqxBxyTr0P8csjq X-Received: by 2002:a17:902:d64d:b0:186:634e:5517 with SMTP id y13-20020a170902d64d00b00186634e5517mr45042096plh.3.1667738992951; Sun, 06 Nov 2022 04:49:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667738992; cv=none; d=google.com; s=arc-20160816; b=mzdmmj+nxqCvJTzZuS4cW9Rc/mjo6Bim+oKVzEMePNi7A7qQsCA9BPJWmFwrxF1Ud4 twQAfll8ODLvB7nziZE38aIKugixw/+zO2biDIsUH2YObN4PIP+a6jkfd3SjarcM7Pco jsY8znfe0RSaipz1sDPMBLHBX1e+N7SHkGPtANbbcnVINsCeQgOLlqlLPYhkZnp/coSg AAifg32ymz6bqjnoOUpaYpYsUXDvjlCvRt+/IXdv9mi3HI6NuBA3YocgHfBc/aUWN8XC HksMUgu4MpQBr+zo+1HRQGfgGDOU0M76f8chHFhm1nBLeEQ51CouSnN1uH3+NZCpqWOr xD0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=FD7PriMfD6FA5ysjALjtYBDVT9U+77WViOEv7uEOYno=; b=mEWf7DnN7CXTcm28m5Xykb0ouKouEb1BH6oOwYygFQQ1b2xaJUutDbm7/ii4BjGaIv 5zXkzlL0DgwngbuFZG8JHbgDWuE2Fv3+7Ea7DNwWptqyH3wfYk4/ZguGcP3knoZXROaE Fjj6GIiWAmI3TSHrG6ysfjrEKob5b6WBkY12fDboBKXrNOJI7pQIT1kAE0GVfhbzc532 x1sGqRWvGwly1febAjmoTYe4QLK/pKiidadcF2n9y/v1YjQc0N7a8elg3a2B0qTgQYAb oM6l4xEUVDRRNeqDbiXUTC8lvd8Ugj/uji8Im4ZYZ10PI2lGWqCk9eBnl4EiUyOQYpCT bWXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w34-20020a634762000000b0046f58089605si6964689pgk.272.2022.11.06.04.49.40; Sun, 06 Nov 2022 04:49:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229950AbiKFMtN (ORCPT + 99 others); Sun, 6 Nov 2022 07:49:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbiKFMtM (ORCPT ); Sun, 6 Nov 2022 07:49:12 -0500 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 439BF63B7 for ; Sun, 6 Nov 2022 04:49:11 -0800 (PST) Received: from ipservice-092-217-068-220.092.217.pools.vodafone-ip.de ([92.217.68.220] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1orf5E-0008Dj-Ua; Sun, 06 Nov 2022 13:49:05 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 0/9] staging: r8188eu: another round of cleanups Date: Sun, 6 Nov 2022 13:48:52 +0100 Message-Id: <20221106124901.720785-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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?1748751082285994814?= X-GMAIL-MSGID: =?utf-8?q?1748751082285994814?= Here's another patch set with several cleanups throughout the driver. Martin Kaiser (9): staging: r8188eu: don't store addba request staging: r8188eu: remove some obsolete comments staging: r8188eu: reorder assignments, clarify the header format staging: r8188eu: reformat a function header staging: r8188eu: remove state checks in rtw_led_control staging: r8188eu: clean up rtw_hal_init staging: r8188eu: remove get_fwstate staging: r8188eu: merge two rtw_free_network_nolock functions staging: r8188eu: remove checks in dump_mgntframe drivers/staging/r8188eu/core/rtw_led.c | 3 +- drivers/staging/r8188eu/core/rtw_mlme.c | 23 ++++++--------- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 28 ++++++++----------- drivers/staging/r8188eu/core/rtw_recv.c | 2 -- drivers/staging/r8188eu/hal/hal_intf.c | 19 +++++-------- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 6 +--- drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c | 15 ++++------ drivers/staging/r8188eu/include/rtw_mlme.h | 7 ----- .../staging/r8188eu/include/rtw_mlme_ext.h | 4 +-- drivers/staging/r8188eu/include/wifi.h | 8 ------ 10 files changed, 36 insertions(+), 79 deletions(-) Tested-by: Philipp Hortmann # Edimax N150