diff options
Diffstat (limited to 'drivers/usb/serial/io_edgeport.c')
-rw-r--r-- | drivers/usb/serial/io_edgeport.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index 76e6fb3aab7a..892e916ef67e 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c | |||
@@ -1465,8 +1465,6 @@ static void edge_throttle(struct tty_struct *tty) | |||
1465 | if (status != 0) | 1465 | if (status != 0) |
1466 | return; | 1466 | return; |
1467 | } | 1467 | } |
1468 | |||
1469 | return; | ||
1470 | } | 1468 | } |
1471 | 1469 | ||
1472 | 1470 | ||
@@ -1770,8 +1768,6 @@ static void edge_break(struct tty_struct *tty, int break_state) | |||
1770 | dbg("%s - error sending break set/clear command.", | 1768 | dbg("%s - error sending break set/clear command.", |
1771 | __func__); | 1769 | __func__); |
1772 | } | 1770 | } |
1773 | |||
1774 | return; | ||
1775 | } | 1771 | } |
1776 | 1772 | ||
1777 | 1773 | ||
@@ -2042,7 +2038,6 @@ static void process_rcvd_status(struct edgeport_serial *edge_serial, | |||
2042 | dbg("%s - Unrecognized IOSP status code %u", __func__, code); | 2038 | dbg("%s - Unrecognized IOSP status code %u", __func__, code); |
2043 | break; | 2039 | break; |
2044 | } | 2040 | } |
2045 | return; | ||
2046 | } | 2041 | } |
2047 | 2042 | ||
2048 | 2043 | ||
@@ -2095,8 +2090,6 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 newMsr) | |||
2095 | 2090 | ||
2096 | /* Save the new modem status */ | 2091 | /* Save the new modem status */ |
2097 | edge_port->shadowMSR = newMsr & 0xf0; | 2092 | edge_port->shadowMSR = newMsr & 0xf0; |
2098 | |||
2099 | return; | ||
2100 | } | 2093 | } |
2101 | 2094 | ||
2102 | 2095 | ||
@@ -2143,8 +2136,6 @@ static void handle_new_lsr(struct edgeport_port *edge_port, __u8 lsrData, | |||
2143 | icount->parity++; | 2136 | icount->parity++; |
2144 | if (newLsr & LSR_FRM_ERR) | 2137 | if (newLsr & LSR_FRM_ERR) |
2145 | icount->frame++; | 2138 | icount->frame++; |
2146 | |||
2147 | return; | ||
2148 | } | 2139 | } |
2149 | 2140 | ||
2150 | 2141 | ||
@@ -2720,7 +2711,6 @@ static void change_port_settings(struct tty_struct *tty, | |||
2720 | baud = tty_termios_baud_rate(old_termios); | 2711 | baud = tty_termios_baud_rate(old_termios); |
2721 | tty_encode_baud_rate(tty, baud, baud); | 2712 | tty_encode_baud_rate(tty, baud, baud); |
2722 | } | 2713 | } |
2723 | return; | ||
2724 | } | 2714 | } |
2725 | 2715 | ||
2726 | 2716 | ||
@@ -2922,7 +2912,6 @@ static void load_application_firmware(struct edgeport_serial *edge_serial) | |||
2922 | 0x40, 0x4000, 0x0001, NULL, 0, 3000); | 2912 | 0x40, 0x4000, 0x0001, NULL, 0, 3000); |
2923 | 2913 | ||
2924 | release_firmware(fw); | 2914 | release_firmware(fw); |
2925 | return; | ||
2926 | } | 2915 | } |
2927 | 2916 | ||
2928 | 2917 | ||