diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-30 15:36:30 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:38 -0700 |
commit | 4649dd3a8f3ad333fcd7166609773163d4478283 (patch) | |
tree | 9d11fd9d421cbc2c41d4383480388253894e5afc /drivers/staging/uc2322/aten2011.c | |
parent | 12cbe0b3384b281a2e0fb03638a342d9c128629f (diff) |
Staging: aten2011: delete the Dump_serial_port function
It's useless, drop it.
Cc: Russell Lang <gsview@ghostgum.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/uc2322/aten2011.c')
-rw-r--r-- | drivers/staging/uc2322/aten2011.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/uc2322/aten2011.c b/drivers/staging/uc2322/aten2011.c index 38770354085..c55e7acc520 100644 --- a/drivers/staging/uc2322/aten2011.c +++ b/drivers/staging/uc2322/aten2011.c @@ -229,9 +229,6 @@ static int debug = 0; /* FIXME make this somehow dynamic and not build time specific */ static int RS485mode = 0; -static void ATEN2011_Dump_serial_port(struct ATENINTL_port *ATEN2011_port); - - static inline void ATEN2011_set_serial_private(struct usb_serial *serial, struct ATENINTL_serial *data) { @@ -343,17 +340,6 @@ static int get_uart_reg(struct usb_serial_port *port, __u16 reg, __u16 *val) return ret; } -static void ATEN2011_Dump_serial_port(struct ATENINTL_port *ATEN2011_port) -{ - - DPRINTK("***************************************\n"); - DPRINTK("SpRegOffset is %2x\n", ATEN2011_port->SpRegOffset); - DPRINTK("ControlRegOffset is %2x \n", ATEN2011_port->ControlRegOffset); - DPRINTK("DCRRegOffset is %2x \n", ATEN2011_port->DcrRegOffset); - DPRINTK("***************************************\n"); - -} - static int handle_newMsr(struct ATENINTL_port *port, __u8 newMsr) { struct ATENINTL_port *ATEN2011_port; @@ -2405,7 +2391,6 @@ static int ATEN2011_startup(struct usb_serial *serial) ATEN2011_port->ControlRegOffset = 0xd; ATEN2011_port->DcrRegOffset = 0x1c; } - ATEN2011_Dump_serial_port(ATEN2011_port); ATEN2011_set_port_private(serial->port[i], ATEN2011_port); |