diff options
author | Luca Ceresoli <luca.ceresoli@comelit.it> | 2011-05-14 05:50:03 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-05-19 21:36:21 +0200 |
commit | 9bb0a1bf9883a436b60e1430ca67792596c21556 (patch) | |
tree | f9f2e168743852eb1ec9dc2f1fefe6220443594f /net | |
parent | 0bdd8acc35c152a1d934a59306f63586b47453a8 (diff) | |
download | u-boot-9bb0a1bf9883a436b60e1430ca67792596c21556.tar.gz u-boot-9bb0a1bf9883a436b60e1430ca67792596c21556.tar.bz2 u-boot-9bb0a1bf9883a436b60e1430ca67792596c21556.zip |
net/tftp.c: cosmetic: do not initialise statics to 0 or NULL
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tftp.c b/net/tftp.c index a52f54c3d2..0f74e6bab6 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -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..*/ |