diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2013-03-07 06:57:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 14:48:09 -0400 |
commit | a4dee9c9fdda7a3ebcb76f5e6280508530f67b76 (patch) | |
tree | 4149b651ec36a8b1548d18d950ade89281fc72db /drivers/usb/class | |
parent | ae8d4879667949fb49f0862b11ba680f671b2185 (diff) |
USB: cdc-acm: Remove obsolete predefined speeds array
Modern speed handling has been introduced in 2009 by commit
9b80fee149a875a6292b2556ab2c64dc7ab7d6f5 (cdc_acm: Fix to use modern
speed interfaces) and the acm_tty_speed array has been unused since.
Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 8ac25adf31b4..d003c8ca00bc 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
@@ -840,14 +840,6 @@ static int acm_tty_ioctl(struct tty_struct *tty, | |||
840 | return rv; | 840 | return rv; |
841 | } | 841 | } |
842 | 842 | ||
843 | static const __u32 acm_tty_speed[] = { | ||
844 | 0, 50, 75, 110, 134, 150, 200, 300, 600, | ||
845 | 1200, 1800, 2400, 4800, 9600, 19200, 38400, | ||
846 | 57600, 115200, 230400, 460800, 500000, 576000, | ||
847 | 921600, 1000000, 1152000, 1500000, 2000000, | ||
848 | 2500000, 3000000, 3500000, 4000000 | ||
849 | }; | ||
850 | |||
851 | static void acm_tty_set_termios(struct tty_struct *tty, | 843 | static void acm_tty_set_termios(struct tty_struct *tty, |
852 | struct ktermios *termios_old) | 844 | struct ktermios *termios_old) |
853 | { | 845 | { |