From patchwork Fri Sep 25 05:58:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 11798935 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2BD3E92C for ; Fri, 25 Sep 2020 06:01:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 067F523447 for ; Fri, 25 Sep 2020 06:01:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="GqiZ4UBq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbgIYGB1 (ORCPT ); Fri, 25 Sep 2020 02:01:27 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:9247 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726925AbgIYGB1 (ORCPT ); Fri, 25 Sep 2020 02:01:27 -0400 X-UUID: 2f3fc8d007ca4b8a84f51726b5cc0ac0-20200925 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=/kONCJJ8aVnXmYA03TO5LSP2R7Z9rLaJR2FAZttJ864=; b=GqiZ4UBquNs5ybjshWHwF5BxBwDUsNGWAR4nb1UrBVLKeWvNovjGwH9zQTliTaoQl2Z52dW3vlkFxZZgWqUx+Ou/nChUDRcB9cFzol/QdHUMtwfY4X96ubp35u+AB9qIjSKxp5Oc7Hf0FcLtuUtjRVQUwt3/tstXTrJrWP048iU=; X-UUID: 2f3fc8d007ca4b8a84f51726b5cc0ac0-20200925 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 917380502; Fri, 25 Sep 2020 14:01:19 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 25 Sep 2020 14:01:17 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 25 Sep 2020 14:01:16 +0800 From: Chunfeng Yun To: Felipe Balbi CC: Greg Kroah-Hartman , Matthias Brugger , Florian Fainelli , Chunfeng Yun , Al Cooper , Sasi Kumar , Nathan Chancellor , Colin Ian King , , , , Subject: [PATCH 02/11] usb: gadget: bdc: remove bdc_ep_set_halt() declaration Date: Fri, 25 Sep 2020 13:58:10 +0800 Message-ID: <1601013499-28920-2-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1601013499-28920-1-git-send-email-chunfeng.yun@mediatek.com> References: <1601013499-28920-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 2FE7C5F0EF1F1CCE5A76AF90EE3C8403C9DD61C62CCE5E3420B3A5B0B0E7225F2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org No definition for bdc_ep_set_halt(), so remove it. Change-Id: Iaaa837a27688ca44b7b361b0e1226d2d4ae4057d Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --- drivers/usb/gadget/udc/bdc/bdc_cmd.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_cmd.h b/drivers/usb/gadget/udc/bdc/bdc_cmd.h index 373e674..a3a6dbd 100644 --- a/drivers/usb/gadget/udc/bdc/bdc_cmd.h +++ b/drivers/usb/gadget/udc/bdc/bdc_cmd.h @@ -16,7 +16,6 @@ int bdc_stop_ep(struct bdc *, int); int bdc_ep_set_stall(struct bdc *, int); int bdc_ep_clear_stall(struct bdc *, int); -int bdc_ep_set_halt(struct bdc_ep *, u32 , int); int bdc_ep_bla(struct bdc *, struct bdc_ep *, dma_addr_t); int bdc_function_wake(struct bdc*, u8); int bdc_function_wake_fh(struct bdc*, u8);