From patchwork Tue Jan 24 21:01:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 47893 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2374617wrn; Tue, 24 Jan 2023 13:09:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXvqmI2sKKSCbGBstjfhel3L9Ms96j4bKP3TIEGtmyXglJiO1ffYmlAyKNT2dlA0mrJyFfG+ X-Received: by 2002:a17:906:b317:b0:86e:5124:20b0 with SMTP id n23-20020a170906b31700b0086e512420b0mr33567974ejz.64.1674594595670; Tue, 24 Jan 2023 13:09:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674594595; cv=none; d=google.com; s=arc-20160816; b=WBKyupsjAQDYR7pt3VMsIfNdL/+xV8kofHGnoCpC4x9i4vZMSk10hG7NPGfANuE0V2 vtmCO5EZk4IRbQU5faMCpogP6YxTdfGFt7UU1B2fbLumaJKRm5Rn2zUUAnK2ApY7ynkB PvfXh4FlO4mRDZebKUxTWD7l/7eNO3YxJDpOS46Ldbd5IXvx6gaH417NATK54mOLWVUE Dd+I3hy0hkhE5Chzkks7vTE89WB2zk5apEfRJ9fHV2H1Vu2uMhIg/b8gn7PVpkRn97Vq 6QxTzfpda2IEjW1RXeO/3yOXwHeBgGL5qVcY+0fGkeVnRJvaJUpGHdptiLD29qEnuuFU wPhg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6HfDCaXSGlANcZkc7X7FMAtH1Xp3VMUvc8xx5OH2KMU=; b=E4mrLRf5M6HznmqXrbzEWLE/Rg1Gv71j7VSeFRCEyB77XsS7vgn41qCZa7H4hCvEOZ svzzRdQ8zaEM1qwe4cRVeL0XwAVz4a/q6GtPGoScYUkZzIiQnLXBswx06AU0tyY97uIl 2ufT35XQdSZGGLXAMl3/HS2kj2llozM8vL2tZ/vm5z1N34VTBzXvxF2sUrfVsl3g8Cdy Qkg+CdkediQZaIW46ur9swF7NQupb8VYVCfsENZvbAmcSLaHLl8jQbrB9QmA1bcA/Bb/ 7KnyDFvSlJbKOafKPZQYZJzkBKqnSnunBrC8yAePWPJ1D5K3DrQctcuwwMhMk7+YwzJM gyBQ== 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 uk19-20020a170907ca1300b008738b6acdedsi3659401ejc.238.2023.01.24.13.09.29; Tue, 24 Jan 2023 13:09:55 -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 S234540AbjAXVBp (ORCPT + 99 others); Tue, 24 Jan 2023 16:01:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234549AbjAXVBe (ORCPT ); Tue, 24 Jan 2023 16:01:34 -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 D0EBA46D4A for ; Tue, 24 Jan 2023 13:01:31 -0800 (PST) Received: from dslb-188-096-139-204.188.096.pools.vodafone-ip.de ([188.96.139.204] 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 1pKQQ1-0001xR-Sc; Tue, 24 Jan 2023 22:01:25 +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 2/4] staging: r8188eu: remove defines that strip regs parameter Date: Tue, 24 Jan 2023 22:01:06 +0100 Message-Id: <20230124210108.62170-3-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230124210108.62170-1-martin@kaiser.cx> References: <20230124210108.62170-1-martin@kaiser.cx> 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?1755939702514854966?= X-GMAIL-MSGID: =?utf-8?q?1755939702514854966?= usb_ops_linux.h has a number of defines that strip the regs parameter from function that should be used as urb callbacks. Remove the defines for functions that don't exist in the r8188eu driver. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/usb_ops_linux.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/staging/r8188eu/include/usb_ops_linux.h b/drivers/staging/r8188eu/include/usb_ops_linux.h index 0a8fefbd4c2e..c7a0dc482761 100644 --- a/drivers/staging/r8188eu/include/usb_ops_linux.h +++ b/drivers/staging/r8188eu/include/usb_ops_linux.h @@ -13,13 +13,4 @@ #define RTW_USB_BULKOUT_TIME 5000/* ms */ -#define _usbctrl_vendorreq_async_callback(urb, regs) \ - _usbctrl_vendorreq_async_callback(urb) -#define usb_bulkout_zero_complete(purb, regs) \ - usb_bulkout_zero_complete(purb) -#define usb_write_mem_complete(purb, regs) \ - usb_write_mem_complete(purb) -#define usb_read_interrupt_complete(purb, regs) \ - usb_read_interrupt_complete(purb) - #endif