From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751364AbbE0NuR (ORCPT ); Wed, 27 May 2015 09:50:17 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:34103 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751307AbbE0NuP (ORCPT ); Wed, 27 May 2015 09:50:15 -0400 From: Abhishek Bist To: gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Abhishek Bist Subject: [PATCH 2/2] USB: hcd.h : Removed an unnecessary function prototype usb_find_interface_driver() Date: Wed, 27 May 2015 19:19:15 +0530 Message-Id: <1432734555-6797-1-git-send-email-ishubist@gmail.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This function is used to call before 2.6.x version of linux kernel but since then I haven't seen it's relative usage and it's not being used any where right now after checking it through linux.crossrefrence.So, IMHO it would be relevant to remove this obselete function from kernel mainline. Signed-off-by: Abhishek Bist --- include/linux/usb/hcd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index 68b1e83..c9aa779 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h @@ -622,8 +622,6 @@ extern struct list_head usb_bus_list; extern struct mutex usb_bus_list_lock; extern wait_queue_head_t usb_kill_urb_queue; -extern int usb_find_interface_driver(struct usb_device *dev, - struct usb_interface *interface); #define usb_endpoint_out(ep_dir) (!((ep_dir) & USB_DIR_IN)) -- 1.8.3.1