diff mbox

drivers/isdn: beautify code, delete 'break' after 'return'

Message ID 512DCE3B.3050107@asianux.com
State Rejected, archived
Delegated to: David Miller
Headers show

Commit Message

Chen Gang Feb. 27, 2013, 9:13 a.m. UTC
delete 'break' statement after 'return' statement

Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 drivers/isdn/i4l/isdn_tty.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Chen Gang Feb. 27, 2013, 9:14 a.m. UTC | #1
oh, sorry, the subject misses [PATCH], I will send again.


于 2013年02月27日 17:13, Chen Gang 写道:
> 
>   delete 'break' statement after 'return' statement
> 
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
> ---
>  drivers/isdn/i4l/isdn_tty.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c
> index d8a7d83..925a7ed 100644
> --- a/drivers/isdn/i4l/isdn_tty.c
> +++ b/drivers/isdn/i4l/isdn_tty.c
> @@ -3425,7 +3425,6 @@ isdn_tty_parse_at(modem_info *info)
>  			p++;
>  			isdn_tty_cmd_ATA(info);
>  			return;
> -			break;
>  		case 'D':
>  			/* D - Dial */
>  			if (info->msr & UART_MSR_DCD)
>
diff mbox

Patch

diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c
index d8a7d83..925a7ed 100644
--- a/drivers/isdn/i4l/isdn_tty.c
+++ b/drivers/isdn/i4l/isdn_tty.c
@@ -3425,7 +3425,6 @@  isdn_tty_parse_at(modem_info *info)
 			p++;
 			isdn_tty_cmd_ATA(info);
 			return;
-			break;
 		case 'D':
 			/* D - Dial */
 			if (info->msr & UART_MSR_DCD)