[PATCH 2/6] net: ping: remove unneeded initialization

Wolfram Sang w.sang at pengutronix.de
Wed Apr 4 12:04:40 EDT 2012


Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
---
 net/ping.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ping.c b/net/ping.c
index 0e8a0dc..4aa10f8 100644
--- a/net/ping.c
+++ b/net/ping.c
@@ -55,7 +55,7 @@ static void ping_handler(void *ctx, char *pkt, unsigned len)
 static int do_ping(int argc, char *argv[])
 {
 	int ret;
-	uint64_t ping_start = 0;
+	uint64_t ping_start;
 
 	if (argc < 2)
 		return COMMAND_ERROR_USAGE;
-- 
1.7.9.1




More information about the barebox mailing list