]> git.sur5r.net Git - u-boot/commitdiff
net/tftp.c: cosmetic: do not initialise statics to 0 or NULL
authorLuca Ceresoli <luca.ceresoli@comelit.it>
Sat, 14 May 2011 05:50:03 +0000 (05:50 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 19 May 2011 19:36:21 +0000 (21:36 +0200)
This removes the following checkpatch issue:
 - ERROR: do not initialise statics to 0 or NULL

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

index a52f54c3d20e3f6f42dafb3c69176aba88717292..0f74e6bab6f7f5fdd1a7169cb0a1b2ab20f7b99a 100644 (file)
@@ -125,8 +125,8 @@ static unsigned short TftpBlkSizeOption = TFTP_MTU_BLOCKSIZE;
 #define MTFTP_BITMAPSIZE       0x1000
 static unsigned *Bitmap;
 static int PrevBitmapHole, Mapsize = MTFTP_BITMAPSIZE;
-static uchar ProhibitMcast = 0, MasterClient = 0;
-static uchar Multicast = 0;
+static uchar ProhibitMcast, MasterClient;
+static uchar Multicast;
 extern IPaddr_t Mcast_addr;
 static int Mcast_port;
 static ulong TftpEndingBlock; /* can get 'last' block before done..*/