Skip to content

Commit

Permalink
USB: serqt_usb2: remove duplicate device ids
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed May 10, 2012
1 parent 38902cf commit 08dfa5c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions drivers/staging/serqt_usb2/serqt_usb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 08dfa5c

Please sign in to comment.