summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ipw.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2010-05-13 21:33:09 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 22:21:46 +0200
commit55c6d85cabb33461139e430f48b9dea794d46f67 (patch)
tree5cc6f2c89753e346f2edda48fe2aaf3bb0315037 /drivers/usb/serial/ipw.c
parentUSB: ipw: clean up dtr-rts handling (diff)
downloadlinux-55c6d85cabb33461139e430f48b9dea794d46f67.tar.xz
linux-55c6d85cabb33461139e430f48b9dea794d46f67.zip
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 '')
-rw-r--r--drivers/usb/serial/ipw.c13
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,
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,