From patchwork Tue Jan 10 20:56:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 3831 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2968631wrt; Tue, 10 Jan 2023 13:05:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsXqB0y2M9qc6WQ9mq2t22djlpo4lYCGRzl0KM0ZpIDUG0RpdslG/Ru0/PbAxTqeYpzOl9Y X-Received: by 2002:a17:906:c0d5:b0:84d:2eb0:57d6 with SMTP id bn21-20020a170906c0d500b0084d2eb057d6mr15279665ejb.52.1673384726713; Tue, 10 Jan 2023 13:05:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673384726; cv=none; d=google.com; s=arc-20160816; b=XclSOrjSxPBU2Ktnrf3KLKHRfolPiAKbyIgQ9TSBeqNJa7a1es85RZgkBVwJLNrxBI 19xPR3iyz8NFiOWSse8yEllqid9AP+7mE6Zjb48N+EmtCONXVa4d53xY9zjUgO56ilDO WmBx6g9zTP4UX4dx4vpCK3Arh5ccPcEYIrIL4hS2aX8YQB9qPGRiHGVhl57KYc95tqiY K6sHNc8B7K3ZCfIN6gILpzR//hLbRswZ1C6Ma4CLYf22+ghLZ0GliAyfCl2R4IIUn9KD 73QTkxyyr0usVsZX8tC6ir0Ywv+hG5y1gj+lVACTEZex3p3UQTZmMglNx4MSAmvLgQQ8 TpCQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb6-20020a1709071c8600b0084d13b96260si14175157ejc.29.2023.01.10.13.04.59; Tue, 10 Jan 2023 13:05:26 -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 + 99 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 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?1754671063137562629?= X-GMAIL-MSGID: =?utf-8?q?1754671063137562629?= 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(-) Tested-by: Philipp Hortmann # Edimax N150