提交 55c6d85c 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

USB: ipw: remove dummy port_probe and port_remove

Signed-off-by: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 605204bf
......@@ -405,17 +405,6 @@ static int ipw_write(struct tty_struct *tty, struct usb_serial_port *port,
return count;
}
static int ipw_probe(struct usb_serial_port *port)
{
return 0;
}
static int ipw_disconnect(struct usb_serial_port *port)
{
usb_set_serial_port_data(port, NULL);
return 0;
}
static struct usb_serial_driver ipw_device = {
.driver = {
.owner = THIS_MODULE,
......@@ -428,8 +417,6 @@ static struct usb_serial_driver ipw_device = {
.open = ipw_open,
.close = ipw_close,
.dtr_rts = ipw_dtr_rts,
.port_probe = ipw_probe,
.port_remove = ipw_disconnect,
.write = ipw_write,
.write_bulk_callback = ipw_write_bulk_callback,
.read_bulk_callback = ipw_read_bulk_callback,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册