From patchwork Tue Jan 24 21:01:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 47896 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2375618wrn; Tue, 24 Jan 2023 13:12:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXuSLRh4lpQrOs1Tf2PgQXuXHfDv6U5Y97MaV3MeSaZdMfPpjWHagOoqelCefjkO/47mpid5 X-Received: by 2002:a05:6a20:8402:b0:b0:30d8:d53 with SMTP id c2-20020a056a20840200b000b030d80d53mr40088015pzd.19.1674594740472; Tue, 24 Jan 2023 13:12:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674594740; cv=none; d=google.com; s=arc-20160816; b=qOweDq10l5EmwSWBDR3HGkwptHqo3i1L3QQTKmIeBFESa1ALbcmPm8+vZrb2ycCao/ qL+QDbFjNMvHMoXyWj/SFHP6oG8fLo0qj53aJuUo/LzttMyagihdZ+eMdlKEkwUyLhCM qSI3nKHKboGHE6mauT+t060/0vJHiQGJcZQOLYB+fkn0Erp5KVjOUTy6e71LRqYL8gxl Uzcd1TjOl5jtWyKEE29vDiJpwK70vgoUXj2u1UjDDrYOTAsdoEssWQ49ZI7tOXH0IXUh hJ4NnTgvXPIu3AVX5XZVCesK+NMoUWtOqCR5vLV8AEtiFg9DpRE47YpiurSkqV27LDKG D5gA== 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=C64wBzN9pP7SffATb7MwkBOx6DF+Ksdn3n0SAIS6pXY=; b=HKhMY+8HhhmJBYa67CHRs3ih7vQ1X4bns8D1yfvzE9UztTJWI2DrLdjWYJSgM46+sG dRjg35yn6HGRR6XYEForqwjHPdDLzRfBY9W1S6Evzhz5UdQp2DWA87YpySHxwCaXu5uf GGtDlMTOSK+I3i5vuLBXx0Dzr52pbzCW9M+a8/c0yW72IvAjXwtDvj28qsvKVcJuTLy+ 3kQTHNgiREyKone9nK7lmpWp8aaqby9LxN2jda8qMYnrcGqLeSYCqG6APGY5N6I52qUc V83TyRfOhUhp+L/NDvMzNHaomJclmKohgFVSFqmDGPRisCxRD8G423S4MXy1vGm5E/Aw ReMA== 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 b69-20020a633448000000b004a2e257462bsi3397502pga.211.2023.01.24.13.12.07; Tue, 24 Jan 2023 13:12:20 -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 S234623AbjAXVBt (ORCPT + 99 others); Tue, 24 Jan 2023 16:01:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234543AbjAXVBe (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 D0DF745BF0 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 1pKQQ2-0001xR-NC; Tue, 24 Jan 2023 22:01:26 +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 3/4] staging: r8188eu: remove unused defines Date: Tue, 24 Jan 2023 22:01:07 +0100 Message-Id: <20230124210108.62170-4-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?1755939854682509971?= X-GMAIL-MSGID: =?utf-8?q?1755939854682509971?= Remove some unused defines from usb_ops_linux.h. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/usb_ops_linux.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/r8188eu/include/usb_ops_linux.h b/drivers/staging/r8188eu/include/usb_ops_linux.h index c7a0dc482761..b149df7957dd 100644 --- a/drivers/staging/r8188eu/include/usb_ops_linux.h +++ b/drivers/staging/r8188eu/include/usb_ops_linux.h @@ -6,11 +6,6 @@ #define VENDOR_CMD_MAX_DATA_LEN 254 -#define RTW_USB_CONTROL_MSG_TIMEOUT_TEST 10/* ms */ #define RTW_USB_CONTROL_MSG_TIMEOUT 500/* ms */ -#define MAX_USBCTRL_VENDORREQ_TIMES 10 - -#define RTW_USB_BULKOUT_TIME 5000/* ms */ - #endif