Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3663852rwo; Fri, 4 Aug 2023 08:06:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxHSQSS/1Ah7xb9Unr2a3G3eDPJCyPdMcpqH+EYW+BaYpgQ6BHvlWU5LMXnA0INWqaT1a4 X-Received: by 2002:aa7:d5cc:0:b0:522:586b:7db6 with SMTP id d12-20020aa7d5cc000000b00522586b7db6mr1811667eds.34.1691161574635; Fri, 04 Aug 2023 08:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691161574; cv=none; d=google.com; s=arc-20160816; b=ay6j5iWxCI4fGINdG/2YTy0a0outpePRXRqN3nak1BcfE0xCL0uDdE17KZqPFwapTb 6VNRcwfSCYo/wsPMG3C3p/mB9ymEBlu+nGU/UGiWyDUb/h6EDCkqRjJE6KrL1BjABBF1 Ic7K3x5zhKMZcLEAlvpmZFgrw6JSS29BWT4LwjJRJfYpU12XyPNDpryTd3Yoh8xtjoU3 897ga+LVoJAGOFnKA4MiWGx6UTG0zTzenL+zgury1SkLR0LAyh4nnT5ohsbe8rjtgyG/ Rsta7i4VKPB5RZD7fAbpUflhGPq/jV7GmagPwBup0s8BgeY1z5d9JvKyXB6hXSJ0EBHu whZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=DUg8Wh49D2wJIdjXg102V/GbvVxoASZZ1FffDsf9HAA=; fh=KciNfe8ENHCdkgcUrb4D/gjifrG6rWu2hKO3cHDaqz8=; b=JxJQitTKc5yIkVI71hVKEcSdlj5GPDjK5+qxkq2YmDSpXnTkytSE52LX98W5eS7i89 Agu94Am705bjPMT8+rENzUdtBSLdk1bp3MDrooDOQ5ZtjdNYZs0ZsB1x15EpPRsqHOzL LVKE1VQmTNW1r3WAv6UyiUPvRRnvv8blarXgWV23fTN1VoDkTxOl+I2RCHK/NvJaCyR0 zd3ggaraj78CuiL2GtzDUq+hcLEItYH0ji4oEoDv21CDmuCJmBaOzFEFoaBq4qqnkyGy eTO2rx6YxaGgr2xUAwPht7dtLa3oexN9yFVW8dKG78uG+41M4+D47T/x8bkqIDJv4mL7 GEhA== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l4-20020a056402028400b005222c16046esi1740776edv.55.2023.08.04.08.05.14; Fri, 04 Aug 2023 08:06:14 -0700 (PDT) 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230101AbjHDNzk (ORCPT + 99 others); Fri, 4 Aug 2023 09:55:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbjHDNzi (ORCPT ); Fri, 4 Aug 2023 09:55:38 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BD0FCC; Fri, 4 Aug 2023 06:55:37 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4RHRxG1MSSz1Z1S8; Fri, 4 Aug 2023 21:52:50 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 4 Aug 2023 21:55:34 +0800 From: Yue Haibing To: , CC: , , Subject: [PATCH -next] xhci: Remove unused function declarations Date: Fri, 4 Aug 2023 21:55:20 +0800 Message-ID: <20230804135520.20964-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 Commit 674f8438c121 ("xhci: split handling halted endpoints into two steps") remove xhci_cleanup_stalled_ring() but leave declaration. And commit 25355e046d29 ("xhci: use generic command timer for stop endpoint commands.") left behind xhci_stop_endpoint_command_watchdog(). Commit b17a57f89f69 ("xhci: Refactor interrupter code for initial multi interrupter support.") leave xhci_free_erst() declaration. Signed-off-by: Yue Haibing --- drivers/usb/host/xhci.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 7e282b4522c0..4cae1d4b7a86 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -2084,7 +2084,6 @@ int xhci_alloc_erst(struct xhci_hcd *xhci, gfp_t flags); void xhci_initialize_ring_info(struct xhci_ring *ring, unsigned int cycle_state); -void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst); void xhci_free_endpoint_ring(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, unsigned int ep_index); @@ -2184,10 +2183,6 @@ int xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd, enum xhci_ep_reset_type reset_type); int xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd, u32 slot_id); -void xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, unsigned int slot_id, - unsigned int ep_index, unsigned int stream_id, - struct xhci_td *td); -void xhci_stop_endpoint_command_watchdog(struct timer_list *t); void xhci_handle_command_timeout(struct work_struct *work); void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id, -- 2.34.1