return;
}
- /* further sanity checks */
- if( port_paranoia_check( port, __FUNCTION__ )
- || serial_paranoia_check( serial, __FUNCTION__ ) )
- return;
-
/* try to send any buffered data on this port, if it is open */
spin_lock( &priv->dp_port_lock );
priv->dp_write_urb_in_use = 0;
return;
}
if( port->serial == NULL
- || serial_paranoia_check( port->serial, __FUNCTION__ )
|| (serial_priv=usb_get_serial_data(port->serial)) == NULL ) {
err("%s: serial is bad or serial->private is NULL, status=%d", __FUNCTION__, urb->status );
return;
unsigned char *data = ((unsigned char *)urb->transfer_buffer)+3;
int flag,throttled;
-
- /* sanity check */
- if( port_paranoia_check( port, __FUNCTION__ ) )
- return( -1 );
-
/* do not process callbacks on closed ports */
/* but do continue the read chain */
if( port->open_count == 0 )
port = serial->port[line];
- if( port_paranoia_check( port, __FUNCTION__ )
- || (priv=usb_get_serial_port_data(port)) == NULL )
- return( -1 );
+ if ((priv=usb_get_serial_port_data(port)) == NULL )
+ return -1;
if( opcode == DIGI_CMD_READ_INPUT_SIGNALS ) {