From: Luca Ceresoli Date: Sat, 14 May 2011 05:50:02 +0000 (+0000) Subject: net/tftp.c: cosmetic: fix indentation X-Git-Tag: v2011.06-rc1~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0bdd8acc35c152a1d934a59306f63586b47453a8;p=u-boot net/tftp.c: cosmetic: fix indentation This removes the following checkpatch issue: - WARNING: suspect code indent for conditional statements Signed-off-by: Luca Ceresoli Cc: Wolfgang Denk --- diff --git a/net/tftp.c b/net/tftp.c index f83c0d6f8c..a52f54c3d2 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -307,7 +307,7 @@ TftpHandler(uchar *pkt, unsigned dest, IPaddr_t sip, unsigned src, if (Multicast && (!Mcast_port || (dest != Mcast_port))) #endif - return; + return; } if (TftpState != STATE_RRQ && src != TftpServerPort) return; @@ -603,11 +603,12 @@ TftpStart(void) /* Check if we need to send across this subnet */ if (NetOurGatewayIP && NetOurSubnetMask) { - IPaddr_t OurNet = NetOurIP & NetOurSubnetMask; - IPaddr_t ServerNet = TftpServerIP & NetOurSubnetMask; + IPaddr_t OurNet = NetOurIP & NetOurSubnetMask; + IPaddr_t ServerNet = TftpServerIP & NetOurSubnetMask; - if (OurNet != ServerNet) - printf("; sending through gateway %pI4", &NetOurGatewayIP); + if (OurNet != ServerNet) + printf("; sending through gateway %pI4", + &NetOurGatewayIP); } putc('\n');