Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp411454imu; Tue, 8 Jan 2019 23:14:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN4kKVrz72zdCVr4L/6NyQNHgm+lM8HObkOeJNXc0GRe4Ffme9pDH5p2U4W380Co278v392s X-Received: by 2002:a17:902:a83:: with SMTP id 3mr4639004plp.276.1547018043346; Tue, 08 Jan 2019 23:14:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547018043; cv=none; d=google.com; s=arc-20160816; b=Wfxs/09FZk3/TPs+FPI7XC/mI9RIPliofXV8vcDRJWEPVmyH4Pjh1GFe3t/41JYICR FMFr6wi84W37qz5mhkYjPl84HUTI84LIk16HF5jDLbJ1S6R/iKSFNtg9YEAKreAuP4y6 E5GGslUAHqO0zNuJxkRqRFI+vU82HpgWsVsebqAERTHLsIf3MjVlSzBWIKaevnBWvYzy V42x6iGwayhEmdmlCVmhkX8UPiS18lHaipqhBnu46KkSJX5biD9jTpTxug1adcYr3VRw ykw65Bu1+aiIpe+poQX4F559DbUu0Fdkc6vFGXEuoVXVPyF0pX9/gl0xi6dQILNbCqtO m7xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xrGHKLDsEDdALudSrMAtGk0fHVBDEpaanL1/ucPioZo=; b=rRuI84UpcqZNGGSqshc1w37c6C6H+q4Vl5d2AvQ8DCNi3VyH1lctVEt2ByHzHsCuxL QhmIufT1p3o+ikZgjc85FwAPo75ysVaea0Z7LVRrbjBR/uF0On+tFbf4FkPfniF70IHl bVxyB6un37mwQD/o2E57fTdA5n8JhNCnW6nwb5+pxctfIVgKupxTNBgvSDQym3leqfrZ CyGCYmMDpntxyaTiyyt+IprrX4YGJkrvjwzbyURdiE/nYbF9xz4pfC1tjAZtNH9BvM+3 G55HB/K+afAtlL3TAC+dpSNYnY1J6uMm/trOLiBczgxcxiCFND/4kPv3Dd2nORNU9In9 sFAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=UlDs0ogz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si20327938plr.157.2019.01.08.23.13.48; Tue, 08 Jan 2019 23:14:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=UlDs0ogz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730076AbfAIHLI (ORCPT + 99 others); Wed, 9 Jan 2019 02:11:08 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:50468 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729986AbfAIHLF (ORCPT ); Wed, 9 Jan 2019 02:11:05 -0500 Received: from localhost.localdomain (unknown [96.44.9.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 11271586; Wed, 9 Jan 2019 08:11:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1547017864; bh=a5G7l2WFn87tf48IRsdLBdFsPElClHFvUVyGvH2CEAc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UlDs0ogzPg/Va86jalS+ea757H7+i5W7by+NZCDfCi6dARkjQAXPK3t9FtC803gJv OnTb95UWwXawFKHlv57xRkMpcHpxL/yX3CBrfzGTkeuud+8Kj6NgVGrbhXeRAMOvpL H09meUIl9JsVc6o2LLF0UonS4wPrP4oP4bm0OYVI= From: Paul Elder To: laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com Cc: Paul Elder , rogerq@ti.com, balbi@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/4] usb: gadget: uvc: remove unused/duplicate function prototypes from uvc.h Date: Wed, 9 Jan 2019 02:10:39 -0500 Message-Id: <20190109071039.27702-5-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190109071039.27702-1-paul.elder@ideasonboard.com> References: <20190109071039.27702-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Defined in uvc.h, uvc_endpoint_stream doesn't exist, and uvc_function_connect, uvc_function_disconnect, and uvc_function_setup_continue have duplicates in f_uvc.h. Remove these four function prototypes from uvc.h Signed-off-by: Paul Elder --- drivers/usb/gadget/function/uvc.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/usb/gadget/function/uvc.h b/drivers/usb/gadget/function/uvc.h index f183e349499c..671020c8a836 100644 --- a/drivers/usb/gadget/function/uvc.h +++ b/drivers/usb/gadget/function/uvc.h @@ -185,14 +185,4 @@ struct uvc_file_handle { #define to_uvc_file_handle(handle) \ container_of(handle, struct uvc_file_handle, vfh) -/* ------------------------------------------------------------------------ - * Functions - */ - -extern void uvc_function_setup_continue(struct uvc_device *uvc); -extern void uvc_endpoint_stream(struct uvc_device *dev); - -extern void uvc_function_connect(struct uvc_device *uvc); -extern void uvc_function_disconnect(struct uvc_device *uvc); - #endif /* _UVC_GADGET_H_ */ -- 2.20.1