diff options
Diffstat (limited to 'drivers/usb/serial/empeg.c')
-rw-r--r-- | drivers/usb/serial/empeg.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/usb/serial/empeg.c b/drivers/usb/serial/empeg.c index c709ec474a80..80cb3471adbe 100644 --- a/drivers/usb/serial/empeg.c +++ b/drivers/usb/serial/empeg.c | |||
@@ -81,8 +81,7 @@ static int debug; | |||
81 | /* function prototypes for an empeg-car player */ | 81 | /* function prototypes for an empeg-car player */ |
82 | static int empeg_open(struct tty_struct *tty, struct usb_serial_port *port, | 82 | static int empeg_open(struct tty_struct *tty, struct usb_serial_port *port, |
83 | struct file *filp); | 83 | struct file *filp); |
84 | static void empeg_close(struct tty_struct *tty, struct usb_serial_port *port, | 84 | static void empeg_close(struct usb_serial_port *port); |
85 | struct file *filp); | ||
86 | static int empeg_write(struct tty_struct *tty, struct usb_serial_port *port, | 85 | static int empeg_write(struct tty_struct *tty, struct usb_serial_port *port, |
87 | const unsigned char *buf, | 86 | const unsigned char *buf, |
88 | int count); | 87 | int count); |
@@ -91,7 +90,6 @@ static int empeg_chars_in_buffer(struct tty_struct *tty); | |||
91 | static void empeg_throttle(struct tty_struct *tty); | 90 | static void empeg_throttle(struct tty_struct *tty); |
92 | static void empeg_unthrottle(struct tty_struct *tty); | 91 | static void empeg_unthrottle(struct tty_struct *tty); |
93 | static int empeg_startup(struct usb_serial *serial); | 92 | static int empeg_startup(struct usb_serial *serial); |
94 | static void empeg_shutdown(struct usb_serial *serial); | ||
95 | static void empeg_set_termios(struct tty_struct *tty, | 93 | static void empeg_set_termios(struct tty_struct *tty, |
96 | struct usb_serial_port *port, struct ktermios *old_termios); | 94 | struct usb_serial_port *port, struct ktermios *old_termios); |
97 | static void empeg_write_bulk_callback(struct urb *urb); | 95 | static void empeg_write_bulk_callback(struct urb *urb); |
@@ -125,7 +123,6 @@ static struct usb_serial_driver empeg_device = { | |||
125 | .throttle = empeg_throttle, | 123 | .throttle = empeg_throttle, |
126 | .unthrottle = empeg_unthrottle, | 124 | .unthrottle = empeg_unthrottle, |
127 | .attach = empeg_startup, | 125 | .attach = empeg_startup, |
128 | .shutdown = empeg_shutdown, | ||
129 | .set_termios = empeg_set_termios, | 126 | .set_termios = empeg_set_termios, |
130 | .write = empeg_write, | 127 | .write = empeg_write, |
131 | .write_room = empeg_write_room, | 128 | .write_room = empeg_write_room, |
@@ -181,8 +178,7 @@ static int empeg_open(struct tty_struct *tty, struct usb_serial_port *port, | |||
181 | } | 178 | } |
182 | 179 | ||
183 | 180 | ||
184 | static void empeg_close(struct tty_struct *tty, struct usb_serial_port *port, | 181 | static void empeg_close(struct usb_serial_port *port) |
185 | struct file *filp) | ||
186 | { | 182 | { |
187 | dbg("%s - port %d", __func__, port->number); | 183 | dbg("%s - port %d", __func__, port->number); |
188 | 184 | ||
@@ -429,12 +425,6 @@ static int empeg_startup(struct usb_serial *serial) | |||
429 | } | 425 | } |
430 | 426 | ||
431 | 427 | ||
432 | static void empeg_shutdown(struct usb_serial *serial) | ||
433 | { | ||
434 | dbg("%s", __func__); | ||
435 | } | ||
436 | |||
437 | |||
438 | static void empeg_set_termios(struct tty_struct *tty, | 428 | static void empeg_set_termios(struct tty_struct *tty, |
439 | struct usb_serial_port *port, struct ktermios *old_termios) | 429 | struct usb_serial_port *port, struct ktermios *old_termios) |
440 | { | 430 | { |