Skip to content

Commit

Permalink
USB: hcd.h : Removed an unnecessary function prototype usb_find_inter…
Browse files Browse the repository at this point in the history
…face_driver()

This function is used to call in early version of linux kernel in order
to find out the interface used by a usb device. But now it's use is
completely abolished. So,it would be relevant to remove this obselete
function from kernel mainline.

Signed-off-by: Abhishek Bist <ishubist@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Abhishek Bist authored and Greg Kroah-Hartman committed May 31, 2015
1 parent 02c018a commit f0e6a32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/usb/hcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit f0e6a32

Please sign in to comment.