Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326109
b: refs/heads/master
c: 1a71bd2
h: refs/heads/master
i:
  326107: 3bd2afd
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 18, 2012
1 parent 043cba7 commit 9660e90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6ab0158007e5ed9108fd74fe0f61b5b2a326eb9
refs/heads/master: 1a71bd2e9731f04a72712aea936627b453233e1e
12 changes: 1 addition & 11 deletions trunk/drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@
#include "ftdi_sio.h"
#include "ftdi_sio_ids.h"

/*
* Version Information
*/
#define DRIVER_VERSION "v1.6.0"
#define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>, Andreas Mohr, Johan Hovold <jhovold@gmail.com>"
#define DRIVER_DESC "USB FTDI Serial Converters Driver"

Expand Down Expand Up @@ -2419,8 +2415,6 @@ static int ftdi_ioctl(struct tty_struct *tty,

static int __init ftdi_init(void)
{
int retval;

if (vendor > 0 && product > 0) {
/* Add user specified VID/PID to reserved element of table. */
int i;
Expand All @@ -2430,11 +2424,7 @@ static int __init ftdi_init(void)
id_table_combined[i].idVendor = vendor;
id_table_combined[i].idProduct = product;
}
retval = usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, id_table_combined);
if (retval == 0)
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
DRIVER_DESC "\n");
return retval;
return usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, id_table_combined);
}

static void __exit ftdi_exit(void)
Expand Down

0 comments on commit 9660e90

Please sign in to comment.