From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753577AbbDYFVm (ORCPT ); Sat, 25 Apr 2015 01:21:42 -0400 Received: from smtprelay0075.hostedemail.com ([216.40.44.75]:60349 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753534AbbDYFVf (ORCPT ); Sat, 25 Apr 2015 01:21:35 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3868:4321:5007:6261:6691:7514:7903:10004:10400:10848:11026:11232:11658:11914:12043:12438:12517:12519:12555:12740:13019:13069:13311:13357:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: twig77_2aad97eecf454 X-Filterd-Recvd-Size: 1614 Message-ID: <1429937777.23327.60.camel@perches.com> Subject: Re: [PATCH] dgnc: Cleanup of unnecessary braces From: Joe Perches To: Robert Callicotte Cc: greg@kroah.com, lidza.louina@gmail.com, linux-kernel@vger.kernel.org In-Reply-To: <20150425044813.GA1584@lenny.callicotte.org> References: <20150425044813.GA1584@lenny.callicotte.org> Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 24 Apr 2015 21:56:17 -0700 Mime-Version: 1.0 X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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. */ > - } > } > } >