mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/2] USB: hcd.h : Removed an unnecessary function prototype usb_find_interface_driver()
@ 2015-05-27 13:49 Abhishek Bist
  2015-05-27 15:00 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Abhishek Bist @ 2015-05-27 13:49 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, linux-kernel, Abhishek Bist

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 <ishubist@gmail.com>
---
 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-27 18:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27 13:49 [PATCH 2/2] USB: hcd.h : Removed an unnecessary function prototype usb_find_interface_driver() Abhishek Bist
2015-05-27 15:00 ` Greg KH
2015-05-27 15:00 ` Greg KH
2015-05-27 15:37 ` Paul Bolle
2015-05-27 18:24 ` [PATCH] " Abhishek Bist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®