aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorAl Borchers <alb@google.com>2007-05-23 15:24:53 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 19:34:29 -0400
commit5fea2a4dabdfa1ad59845c42ea770ee8cb41ecad (patch)
tree4137fe3f6616575c29b949f4eb6a9449e176fb3e /drivers/usb/serial
parent08a2b3b610a734a6d6e4ff0455eec1241966fcb3 (diff)
USB: digi_acceleport further buffer clean up
Some further cleanup after Oliver's patch to update the tty buffering. The input buffer is not used at all anymore, so I removed it. Signed-off-by: Al Borchers <alborchers@steinerpoint.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/digi_acceleport.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c
index 9ffd99aded53..d67d397b1b88 100644
--- a/drivers/usb/serial/digi_acceleport.c
+++ b/drivers/usb/serial/digi_acceleport.c
@@ -416,9 +416,6 @@ struct digi_port {
416 int dp_port_num; 416 int dp_port_num;
417 int dp_out_buf_len; 417 int dp_out_buf_len;
418 unsigned char dp_out_buf[DIGI_OUT_BUF_SIZE]; 418 unsigned char dp_out_buf[DIGI_OUT_BUF_SIZE];
419 int dp_in_buf_len;
420 unsigned char dp_in_buf[DIGI_IN_BUF_SIZE];
421 unsigned char dp_in_flag_buf[DIGI_IN_BUF_SIZE];
422 int dp_write_urb_in_use; 419 int dp_write_urb_in_use;
423 unsigned int dp_modem_signals; 420 unsigned int dp_modem_signals;
424 wait_queue_head_t dp_modem_change_wait; 421 wait_queue_head_t dp_modem_change_wait;
@@ -920,7 +917,6 @@ dbg( "digi_rx_throttle: TOP: port=%d", priv->dp_port_num );
920 spin_lock_irqsave( &priv->dp_port_lock, flags ); 917 spin_lock_irqsave( &priv->dp_port_lock, flags );
921 priv->dp_throttled = 1; 918 priv->dp_throttled = 1;
922 priv->dp_throttle_restart = 0; 919 priv->dp_throttle_restart = 0;
923 priv->dp_in_buf_len = 0;
924 spin_unlock_irqrestore( &priv->dp_port_lock, flags ); 920 spin_unlock_irqrestore( &priv->dp_port_lock, flags );
925 921
926} 922}
@@ -939,7 +935,6 @@ dbg( "digi_rx_unthrottle: TOP: port=%d", priv->dp_port_num );
939 935
940 /* turn throttle off */ 936 /* turn throttle off */
941 priv->dp_throttled = 0; 937 priv->dp_throttled = 0;
942 priv->dp_in_buf_len = 0;
943 priv->dp_throttle_restart = 0; 938 priv->dp_throttle_restart = 0;
944 939
945 /* restart read chain */ 940 /* restart read chain */
@@ -1676,7 +1671,6 @@ dbg( "digi_startup: TOP" );
1676 spin_lock_init( &priv->dp_port_lock ); 1671 spin_lock_init( &priv->dp_port_lock );
1677 priv->dp_port_num = i; 1672 priv->dp_port_num = i;
1678 priv->dp_out_buf_len = 0; 1673 priv->dp_out_buf_len = 0;
1679 priv->dp_in_buf_len = 0;
1680 priv->dp_write_urb_in_use = 0; 1674 priv->dp_write_urb_in_use = 0;
1681 priv->dp_modem_signals = 0; 1675 priv->dp_modem_signals = 0;
1682 init_waitqueue_head( &priv->dp_modem_change_wait ); 1676 init_waitqueue_head( &priv->dp_modem_change_wait );