USB: serqt_usb2: remove duplicate device ids
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 May 2012 21:13:17 +0000 (14:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 May 2012 21:13:17 +0000 (14:13 -0700)
There are a number of device ids that the quatech2 driver supports that
are duplicated in the serqt_usb2 driver, so remove them from the
serqt_usb2 driver as they do not belong there.

Reported-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/serqt_usb2/serqt_usb2.c

index f2ae004da5e59b9fd72da70131c418e977b9f55c..43045db982d4154c31cba006481a3ef0e9175d5d 100644 (file)
@@ -41,13 +41,6 @@ static bool debug;
 #define QUATECH_HSU200B        0xC0B1  /* HSU200B */
 #define QUATECH_HSU200C        0xC0B2  /* HSU200C */
 #define QUATECH_HSU200D        0xC0B3  /* HSU200D */
-#define QUATECH_SSU100_2  0xC120       /* SSU100_2 */
-#define QUATECH_DSU100_2  0xC140       /* DSU100_2 */
-#define QUATECH_DSU400_2  0xC150       /* DSU400_2 */
-#define QUATECH_QSU100_2  0xC160       /* QSU100_2 */
-#define QUATECH_QSU400_2  0xC170       /* QSU400_2 */
-#define QUATECH_ESU400_2  0xC180       /* ESU400_2 */
-#define QUATECH_ESU100_2  0xC1A0       /* ESU100_2 */
 
 #define QT_SET_GET_DEVICE           0xc2
 #define QT_OPEN_CLOSE_CHANNEL       0xca
@@ -143,13 +136,6 @@ static const struct usb_device_id id_table[] = {
        {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_HSU200B)},
        {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_HSU200C)},
        {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_HSU200D)},
-       {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_SSU100_2)},
-       {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_DSU100_2)},
-       {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_DSU400_2)},
-       {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_QSU100_2)},
-       {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_QSU400_2)},
-       {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_ESU400_2)},
-       {USB_DEVICE(USB_VENDOR_ID_QUATECH, QUATECH_ESU100_2)},
        {}                      /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, id_table);