]> git.sur5r.net Git - u-boot/commitdiff
net/tftp.c: cosmetic: trailing statements should be on next line
authorLuca Ceresoli <luca.ceresoli@comelit.it>
Sat, 14 May 2011 05:50:01 +0000 (05:50 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 19 May 2011 19:36:08 +0000 (21:36 +0200)
This removes the following checkpatch issue:
 - ERROR: trailing statements should be on next line

Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Cc: Wolfgang Denk <wd@denx.de>
net/tftp.c

index eacd529a98e3941f7035cf18f55d11fcdfaaae38..f83c0d6f8c1b36c88c5be17554c2e9ade3056328 100644 (file)
@@ -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;