lkml.org 
[lkml]   [2015]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] dgnc: Cleanup of unnecessary braces
From
Date
On Fri, 2015-04-24 at 23:48 -0500, Robert Callicotte wrote:
> Removed curly braces and trailing whitespace from else clause.

Do please compile the files modified by your patches
_before_ sending them.

> Signed-off-by: Robert Callicotte <rcallicotte@gmail.com>
> ---
> drivers/staging/dgnc/dgnc_tty.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
> index ce4187f..2418150 100644
> --- a/drivers/staging/dgnc/dgnc_tty.c
> +++ b/drivers/staging/dgnc/dgnc_tty.c
> @@ -898,9 +898,8 @@ void dgnc_check_queue_flow_control(struct channel_t *ch)
> ch->ch_bd->bd_ops->send_start_character(ch);
> }
> /* No FLOW */
> - else {
> + else
> /* Nothing needed. */
> - }
> }
> }
>





\
 
 \ /
  Last update: 2015-04-25 07:41    [W:0.080 / U:1.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site