From patchwork Sat May 14 15:50:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 95564 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id D6F321007D1 for ; Sun, 15 May 2011 02:01:58 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 915DB280D1; Sat, 14 May 2011 18:01:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a7kcVnfQWtgv; Sat, 14 May 2011 18:01:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 66727280B1; Sat, 14 May 2011 18:01:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E9AE928089 for ; Sat, 14 May 2011 18:01:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dS73fmmaJNvq for ; Sat, 14 May 2011 18:01:16 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtpi4.ngi.it (smtpi4.ngi.it [88.149.128.104]) by theia.denx.de (Postfix) with ESMTP id 3BAC028093 for ; Sat, 14 May 2011 18:01:14 +0200 (CEST) Received: from wallace (88-149-225-30.dynamic.ngi.it [88.149.225.30]) by smtpi4.ngi.it (Postfix) with ESMTP id 09D504299A; Sat, 14 May 2011 17:51:10 +0200 (CEST) From: Luca Ceresoli To: u-boot@lists.denx.de Date: Sat, 14 May 2011 17:50:01 +0200 Message-Id: <1305388203-22983-7-git-send-email-luca.ceresoli@comelit.it> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1305388203-22983-1-git-send-email-luca.ceresoli@comelit.it> References: <1305388203-22983-1-git-send-email-luca.ceresoli@comelit.it> Cc: Luca Ceresoli Subject: [U-Boot] [PATCH 6/8] net/tftp.c: cosmetic: trailing statements should be on next line X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This removes the following checkpatch issue: - ERROR: trailing statements should be on next line Signed-off-by: Luca Ceresoli Cc: Wolfgang Denk --- net/tftp.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/net/tftp.c b/net/tftp.c index eacd529..f83c0d6 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -136,8 +136,10 @@ static void parse_multicast_oack(char *pkt, int len); static void mcast_cleanup(void) { - if (Mcast_addr) eth_mcast_join(Mcast_addr, 0); - if (Bitmap) free(Bitmap); + if (Mcast_addr) + eth_mcast_join(Mcast_addr, 0); + if (Bitmap) + free(Bitmap); Bitmap = NULL; Mcast_addr = Multicast = Mcast_port = 0; TftpEndingBlock = -1; @@ -703,7 +705,8 @@ static void parse_multicast_oack(char *pkt, int len) } } } - if (!port || !mc_adr || !mc) return; + if (!port || !mc_adr || !mc) + return; if (Multicast && MasterClient) { printf("I got a OACK as master Client, WRONG!\n"); return;