From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ceresoli Date: Sat, 14 May 2011 17:50:03 +0200 Subject: [U-Boot] [PATCH 8/8] net/tftp.c: cosmetic: do not initialise statics to 0 or NULL In-Reply-To: <1305388203-22983-1-git-send-email-luca.ceresoli@comelit.it> References: <1305388203-22983-1-git-send-email-luca.ceresoli@comelit.it> Message-ID: <1305388203-22983-9-git-send-email-luca.ceresoli@comelit.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This removes the following checkpatch issue: - ERROR: do not initialise statics to 0 or NULL Signed-off-by: Luca Ceresoli Cc: Wolfgang Denk --- net/tftp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tftp.c b/net/tftp.c index a52f54c..0f74e6b 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..*/ -- 1.7.1