Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8417424rwl; Tue, 10 Jan 2023 13:18:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXs273otAbQPGDKzak2L47ASo55ypo3iWHyVhFbfpynrKqu46lS1WDeTWFSJsjCukSZL0mML X-Received: by 2002:a17:906:7188:b0:7c0:f117:6990 with SMTP id h8-20020a170906718800b007c0f1176990mr60565091ejk.41.1673385524248; Tue, 10 Jan 2023 13:18:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673385524; cv=none; d=google.com; s=arc-20160816; b=YMHS3HD+tmDuGTuvYwHFHwKZzR9tMC8VKxBQYx21aGdjzkRfc3SFgyGRaSQ9DbfL1c hp5/pcAvIVdGEOOWR8e7K2fKRi+VvbVaVYfLrbjip8QYapX8vbsGwxGeXqN2n5KuIed/ vsnYzp/HNX+lmKtIRsaJ6Z1Ln1edv/IZcYD+g3fTZ4Lr/nvzpIAo126uUPHV7U8Yu3T+ J9PLzSBGsLhFtpv7DU1bT3pR7KF7gRZspNtzr5q8YJf3yRZTSNW9kfoavobEYRMkupON he3wV3uwUpJdSHg8/zSNh6CEdSPKO4VUMYY3J1FZqg0dphMU8k1dxHogzHEaL2ThRM66 P58g== 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=HUPOXC20NBIWqI/WaJL74dcQaDCM9c/NBvdFXrBTvPc=; b=tmEl625kKNLs9kP0KmoYxEWbHAPgNFndEnBRfKPl+Ij35mTseIQ4IGUm2EhJ59wqou JacIo5JtoG8IGplk3E5ahN9ScSObWN/PxaApbsdxhGbpWVXpU7+oCM8wMXka1Mg0TCH3 m5D8uOKrxVAGbqh6BAzxyiQ4b1qdq12Y+F7VtJXJwPXAS/EiwnIFyyP7r6bU1KXVTp3U CSOAXgmnaQrxa4aKcaXwBmchxwT9gEx2+P4l7YvRiNIvemalrizoImq7Q34NIya0AIts ioXv8p5ixPcFagba/XZEzz8UcIDDOWbklORRhNmOGf5mlIkGrQMlga+9vsnDkGvkWQF8 7lkw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb23-20020a1709077e9700b007c1651709e3si13624985ejc.177.2023.01.10.13.18.31; Tue, 10 Jan 2023 13:18:44 -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 S233110AbjAJU4t (ORCPT + 53 others); Tue, 10 Jan 2023 15:56:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233681AbjAJU4r (ORCPT ); Tue, 10 Jan 2023 15:56:47 -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 A4FF8DEB3 for ; Tue, 10 Jan 2023 12:56:44 -0800 (PST) Received: from dslb-178-004-206-224.178.004.pools.vodafone-ip.de ([178.4.206.224] 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 1pFLfg-0001pw-Vx; Tue, 10 Jan 2023 21:56:37 +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/4] staging: r8188eu: clean up usb_write_port_complete Date: Tue, 10 Jan 2023 21:56:22 +0100 Message-Id: <20230110205626.183516-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Clean up and simplify the usb_write_port_complete callback function. Yet again, this is based on the previous patches I submitted. Martin Kaiser (4): staging: r8188eu: refactor status handling in usb_write_port_complete staging: r8188eu: reformat usb_write_port_complete staging: r8188eu: remove unused function parameter staging: r8188eu: always process urb status .../staging/r8188eu/include/usb_ops_linux.h | 2 - .../staging/r8188eu/os_dep/usb_ops_linux.c | 46 ++++++++----------- 2 files changed, 18 insertions(+), 30 deletions(-) -- 2.30.2