diff options
author | Johan Hovold <jhovold@gmail.com> | 2010-05-13 15:33:09 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:46 -0400 |
commit | 55c6d85cabb33461139e430f48b9dea794d46f67 (patch) | |
tree | 5cc6f2c89753e346f2edda48fe2aaf3bb0315037 /drivers/usb/serial | |
parent | 605204bfb0047523b3acda535163875a75268a6a (diff) |
USB: ipw: remove dummy port_probe and port_remove
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/ipw.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/usb/serial/ipw.c b/drivers/usb/serial/ipw.c index 18b335e0959c..585ec1e237b6 100644 --- a/drivers/usb/serial/ipw.c +++ b/drivers/usb/serial/ipw.c | |||
@@ -405,17 +405,6 @@ static int ipw_write(struct tty_struct *tty, struct usb_serial_port *port, | |||
405 | return count; | 405 | return count; |
406 | } | 406 | } |
407 | 407 | ||
408 | static int ipw_probe(struct usb_serial_port *port) | ||
409 | { | ||
410 | return 0; | ||
411 | } | ||
412 | |||
413 | static int ipw_disconnect(struct usb_serial_port *port) | ||
414 | { | ||
415 | usb_set_serial_port_data(port, NULL); | ||
416 | return 0; | ||
417 | } | ||
418 | |||
419 | static struct usb_serial_driver ipw_device = { | 408 | static struct usb_serial_driver ipw_device = { |
420 | .driver = { | 409 | .driver = { |
421 | .owner = THIS_MODULE, | 410 | .owner = THIS_MODULE, |
@@ -428,8 +417,6 @@ static struct usb_serial_driver ipw_device = { | |||
428 | .open = ipw_open, | 417 | .open = ipw_open, |
429 | .close = ipw_close, | 418 | .close = ipw_close, |
430 | .dtr_rts = ipw_dtr_rts, | 419 | .dtr_rts = ipw_dtr_rts, |
431 | .port_probe = ipw_probe, | ||
432 | .port_remove = ipw_disconnect, | ||
433 | .write = ipw_write, | 420 | .write = ipw_write, |
434 | .write_bulk_callback = ipw_write_bulk_callback, | 421 | .write_bulk_callback = ipw_write_bulk_callback, |
435 | .read_bulk_callback = ipw_read_bulk_callback, | 422 | .read_bulk_callback = ipw_read_bulk_callback, |