Commit 050f5712 authored by Andrzej Pietrasiewicz's avatar Andrzej Pietrasiewicz Committed by Felipe Balbi

usb: gadget: printer: remove unused and empty printer_unbind

The unbind() method is optional is usb_composite_driver.
In this particular driver the method does nothing so it can be removed.
Signed-off-by: default avatarAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent eb132ccb
...@@ -1288,11 +1288,6 @@ static int __init printer_bind_config(struct usb_configuration *c) ...@@ -1288,11 +1288,6 @@ static int __init printer_bind_config(struct usb_configuration *c)
return status; return status;
} }
static int printer_unbind(struct usb_composite_dev *cdev)
{
return 0;
}
static int __init printer_bind(struct usb_composite_dev *cdev) static int __init printer_bind(struct usb_composite_dev *cdev)
{ {
int ret; int ret;
...@@ -1317,7 +1312,6 @@ static __refdata struct usb_composite_driver printer_driver = { ...@@ -1317,7 +1312,6 @@ static __refdata struct usb_composite_driver printer_driver = {
.strings = dev_strings, .strings = dev_strings,
.max_speed = USB_SPEED_SUPER, .max_speed = USB_SPEED_SUPER,
.bind = printer_bind, .bind = printer_bind,
.unbind = printer_unbind,
}; };
static int __init static int __init
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment