Skip to content

Commit

Permalink
USB: ssu100: remove custom close operation
Browse files Browse the repository at this point in the history
The generic close operation will be used if the close field is left
uninitialised.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Mar 25, 2013
1 parent bf8773c commit 618e183
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/usb/serial/ssu100.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,6 @@ static int ssu100_open(struct tty_struct *tty, struct usb_serial_port *port)
return usb_serial_generic_open(tty, port);
}

static void ssu100_close(struct usb_serial_port *port)
{
usb_serial_generic_close(port);
}

static int get_serial_info(struct usb_serial_port *port,
struct serial_struct __user *retinfo)
{
Expand Down Expand Up @@ -630,7 +625,6 @@ static struct usb_serial_driver ssu100_device = {
.id_table = id_table,
.num_ports = 1,
.open = ssu100_open,
.close = ssu100_close,
.attach = ssu100_attach,
.port_probe = ssu100_port_probe,
.port_remove = ssu100_port_remove,
Expand Down

0 comments on commit 618e183

Please sign in to comment.